From 7b27ab493b56f9e77d805c4f44a1717f3a79231e Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 19 Feb 2015 19:23:34 +0100 Subject: Userland test infrastructure --- src/tests/utests/rules.make | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/tests/utests/rules.make (limited to 'src/tests/utests/rules.make') diff --git a/src/tests/utests/rules.make b/src/tests/utests/rules.make new file mode 100644 index 0000000..1f4bb1b --- /dev/null +++ b/src/tests/utests/rules.make @@ -0,0 +1,14 @@ +LIB = ../../../lib/libkogata/libkogata.lib ../../../common/libc/libc.lib + +OBJ = test.o + +CFLAGS = -I . -I ../../../common/include -I ../../../lib/include -DBUILD_USER_TEST +LDFLAGS = -T ../../../apps/linker.ld -Xlinker -Map=init.map + +OUT = init.bin + +include ../../../rules.make + +run_test: rebuild + ../run_qemu_test.sh + -- cgit v1.2.3