aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-03-05 14:38:54 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-03-05 14:38:54 +0200
commit787c1a6016dd2fdb51f20fcb5ca0ac5e461892d6 (patch)
tree7db9f5102adc3d50ca85a8175ce67465256b8908 /lib/Makefile
parentAdd TARGETBIN and TARGETLIB rules (diff)
downloadkernel-master.tar.xz
Move all tests next to the code they're testingHEADmaster
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index f5eeded..1301e04 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,5 +1,6 @@
include ../Makefile.config
+# minimal C standard library
TARGETLIB += libk
libk.SRCS = \
libk/endian/little.c \
@@ -7,11 +8,16 @@ libk.SRCS = \
libk/stdlib/memcpy.c libk/stdlib/memset.c libk/stdlib/linked_list_allocator.c \
libk/string/itoa.c
-TESTS += tst/endian_little tst/mem tst/string tst/linked_list_allocator
+TESTS += \
+ libk/endian/test_endian_little \
+ libk/stdlib/test_linked_list_allocator libk/stdlib/test_mem \
+ libk/string/test_string
+# blake2s hash algorithm
TARGETLIB += blake2
blake2.SRCS = blake2/blake2s.c
-TESTS += tst/blake2s_selftest
+
+TESTS += blake2/test_blake2s_selftest
include ../rules.mk