From 454e3623852cbc8b2bb70796cd960b8ab5084502 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 06 Jul 2023 15:42:53 -0400 Subject: tests: Update to use common code --- (limited to 'tests') diff --git a/tests/local.mk b/tests/local.mk index e61da9c..0045124 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -1,10 +1,12 @@ check_PROGRAMS = \ %reldir%/mode tests_mode_SOURCES = \ - helpers/defs.h \ - helpers/mode.c \ - helpers/mode.h \ + common/defs.h \ + common/mode.c \ + common/mode.h \ %reldir%/mode.c +tests_mode_CPPFLAGS = \ + -I"$(top_srcdir)/common" TESTS = \ %reldir%/version.sh \ %reldir%/mode.sh \ diff --git a/tests/mode.c b/tests/mode.c index 972401d..850209f 100644 --- a/tests/mode.c +++ b/tests/mode.c @@ -20,8 +20,8 @@ #include #include #include -#include "../helpers/defs.h" -#include "../helpers/mode.h" +#include "defs.h" +#include "mode.h" static unsigned int _test_num = 0U; -- cgit v0.9.1