diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 19:23:34 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 19:23:34 +0100 |
commit | 7b27ab493b56f9e77d805c4f44a1717f3a79231e (patch) | |
tree | a3037447f4e3d428a61a5c3cfb4e2a98ea5981e4 /src/tests/utests/rules.make | |
parent | 62e5a35940198f0f8fbabdf31c80455647420c4e (diff) | |
download | kogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.tar.gz kogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.zip |
Userland test infrastructure
Diffstat (limited to 'src/tests/utests/rules.make')
-rw-r--r-- | src/tests/utests/rules.make | 14 |
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 + |