aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/coverage/Makefile9
-rw-r--r--test/test.mk20
2 files changed, 18 insertions, 11 deletions
diff --git a/test/coverage/Makefile b/test/coverage/Makefile
index 69f55884e..fb069123c 100644
--- a/test/coverage/Makefile
+++ b/test/coverage/Makefile
@@ -57,20 +57,21 @@ UDEFS =
UADEFS =
# Imported source files
-include ../../os/kernel/kernel.mk
-include ../../test/test.mk
+CHIBIOS = ../..
+include ${CHIBIOS}/os/kernel/kernel.mk
+include ${CHIBIOS}/test/test.mk
# List C source files here
SRC = ${KERNSRC} \
${TESTSRC} \
- ../../os/io/serial.c \
+ ${CHIBIOS}/os/io/serial.c \
chcore.c serial_lld.c main.c
# List ASM source files here
ASRC =
# List all user directories here
-UINCDIR = $(KERNINC) $(TESTINC) ../../os/io
+UINCDIR = $(KERNINC) $(TESTINC) ${CHIBIOS}/os/io
# List the user directory to look for the libraries here
ULIBDIR =
diff --git a/test/test.mk b/test/test.mk
index 2a3e1a4f9..3f740288c 100644
--- a/test/test.mk
+++ b/test/test.mk
@@ -1,10 +1,16 @@
# List of all the ChibiOS/RT test files.
-TESTSRC = ../../test/test.c ../../test/testthd.c \
- ../../test/testsem.c ../../test/testmtx.c \
- ../../test/testmsg.c ../../test/testmbox.c \
- ../../test/testevt.c ../../test/testheap.c \
- ../../test/testpools.c ../../test/testdyn.c \
- ../../test/testqueues.c ../../test/testbmk.c
+TESTSRC = ${CHIBIOS}/test/test.c \
+ ${CHIBIOS}/test/testthd.c \
+ ${CHIBIOS}/test/testsem.c \
+ ${CHIBIOS}/test/testmtx.c \
+ ${CHIBIOS}/test/testmsg.c \
+ ${CHIBIOS}/test/testmbox.c \
+ ${CHIBIOS}/test/testevt.c \
+ ${CHIBIOS}/test/testheap.c \
+ ${CHIBIOS}/test/testpools.c \
+ ${CHIBIOS}/test/testdyn.c \
+ ${CHIBIOS}/test/testqueues.c \
+ ${CHIBIOS}/test/testbmk.c
# Required include directories
-TESTINC = ../../test
+TESTINC = ${CHIBIOS}/test