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 /lib | |
parent | Add sched/roundrobin tests (diff) | |
download | kernel-7bde59183f40fe7540ab87a03429453b76e286c3.tar.xz |
Add test and valgrind targets to rules.mk
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/Makefile b/lib/Makefile index b82d773..9b34c20 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -4,11 +4,7 @@ libk.SRCS = stdio/printf.c stdio/fprintf.c stdio/vfprintf.cpp \ stdlib/memcpy.c stdlib/memset.c stdlib/linked_list_allocator.c \ string/itoa.c -include ../rules.mk +TESTS += tst/test_mem tst/test_string tst/test_linked_list_allocator -.PHONY: test valgrind -test: tst/test_mem tst/test_string tst/test_linked_list_allocator - $(foreach f,$^,./$f;) +include ../rules.mk -valgrind: tst/test_mem tst/test_string tst/test_linked_list_allocator - $(foreach f,$^,valgrind --leak-check=full ./$f;) |