diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-12-27 13:42:58 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-12-27 13:42:58 +0200 |
commit | 7bde59183f40fe7540ab87a03429453b76e286c3 (patch) | |
tree | 60a2db357f119a3925ed6a6fb2925228a51307fa /src | |
parent | Add sched/roundrobin tests (diff) | |
download | kernel-7bde59183f40fe7540ab87a03429453b76e286c3.tar.xz |
Add test and valgrind targets to rules.mk
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/Makefile b/src/Makefile index df59f24..c3e4931 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,14 +3,9 @@ include ../Makefile.config kernel.SRCS := multiboot2.c mmap.c kernel.cpp mem/vmm.c kernel.OBJS := include conf.h -include ../rules.mk - -.PHONY: test valgrind -test: tst/test_taskqueue tst/test_roundrobin - $(foreach f,$^,./$f;) +TESTS += tst/test_taskqueue tst/test_roundrobin -valgrind: tst/test_taskqueue tst/test_roundrobin - $(foreach f,$^,valgrind --leak-check=full ./$f;) +include ../rules.mk conf.h: conf.h.in @echo ' GEN $@' |