aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-12-25 17:53:05 +0200
committeraqua <aqua@iserlohn-fortress.net>2022-12-25 17:53:05 +0200
commita490cf9fece4c4b900d219740123ec8d81c6abb2 (patch)
tree3e4485d75519b79b0e770cacf5ba8b66acce8231 /src/Makefile
parentGenerate docs using doxygen instead of sphinx (diff)
downloadkernel-a490cf9fece4c4b900d219740123ec8d81c6abb2.tar.xz
Add sched/roundrobin tests
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 8f7c47c..df59f24 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,6 +5,13 @@ kernel.OBJS := include conf.h
include ../rules.mk
+.PHONY: test valgrind
+test: tst/test_taskqueue tst/test_roundrobin
+ $(foreach f,$^,./$f;)
+
+valgrind: tst/test_taskqueue tst/test_roundrobin
+ $(foreach f,$^,valgrind --leak-check=full ./$f;)
+
conf.h: conf.h.in
@echo ' GEN $@'
@cp conf.h.in conf.h