aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
parentGenerate docs using doxygen instead of sphinx (diff)
downloadkernel-a490cf9fece4c4b900d219740123ec8d81c6abb2.tar.xz
Add sched/roundrobin tests
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index b3e1f66..b82d773 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,11 +1,14 @@
include ../Makefile.config
libk.SRCS = stdio/printf.c stdio/fprintf.c stdio/vfprintf.cpp \
- stdlib/memcpy.c stdlib/memset.c \
+ stdlib/memcpy.c stdlib/memset.c stdlib/linked_list_allocator.c \
string/itoa.c
include ../rules.mk
-.PHONY: test
+.PHONY: test valgrind
test: tst/test_mem tst/test_string tst/test_linked_list_allocator
$(foreach f,$^,./$f;)
+
+valgrind: tst/test_mem tst/test_string tst/test_linked_list_allocator
+ $(foreach f,$^,valgrind --leak-check=full ./$f;)