summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/local.mk8
-rw-r--r--tests/mode.c4
2 files changed, 7 insertions, 5 deletions
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 <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
-#include "../helpers/defs.h"
-#include "../helpers/mode.h"
+#include "defs.h"
+#include "mode.h"
static unsigned int _test_num = 0U;