aboutsummaryrefslogtreecommitdiff
path: root/src/tests/utests/rules.make
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-19 19:23:34 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-19 19:23:34 +0100
commit7b27ab493b56f9e77d805c4f44a1717f3a79231e (patch)
treea3037447f4e3d428a61a5c3cfb4e2a98ea5981e4 /src/tests/utests/rules.make
parent62e5a35940198f0f8fbabdf31c80455647420c4e (diff)
downloadkogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.tar.gz
kogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.zip
Userland test infrastructure
Diffstat (limited to 'src/tests/utests/rules.make')
-rw-r--r--src/tests/utests/rules.make14
1 files changed, 14 insertions, 0 deletions
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
+