diff options
author | aqua <aqua@iserlohn-fortress.net> | 2023-03-12 21:32:52 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2023-03-12 21:32:52 +0200 |
commit | 1bb2504bc9928e68c612787803c84033a847a968 (patch) | |
tree | ab8e45e8524dd45721e61551d5a092daef05a8ee /lib/Makefile | |
parent | Add scripts/test_runner.py (diff) | |
download | kernel-1bb2504bc9928e68c612787803c84033a847a968.tar.xz |
Build tests using HOSTTARGETBIN
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 1301e04..0494a85 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -8,6 +8,18 @@ libk.SRCS = \ libk/stdlib/memcpy.c libk/stdlib/memset.c libk/stdlib/linked_list_allocator.c \ libk/string/itoa.c +HOSTTARGETBIN += libk/endian/test_endian_little +libk/endian/test_endian_little.SRCS = libk/endian/test_endian_little.cc + +HOSTTARGETBIN += libk/stdlib/test_linked_list_allocator +libk/stdlib/test_linked_list_allocator.SRCS = libk/stdlib/test_linked_list_allocator.cc + +HOSTTARGETBIN += libk/stdlib/test_mem +libk/stdlib/test_mem.SRCS = libk/stdlib/test_mem.cc + +HOSTTARGETBIN += libk/string/test_string +libk/string/test_string.SRCS = libk/string/test_string.cc + TESTS += \ libk/endian/test_endian_little \ libk/stdlib/test_linked_list_allocator libk/stdlib/test_mem \ @@ -17,6 +29,9 @@ TESTS += \ TARGETLIB += blake2 blake2.SRCS = blake2/blake2s.c +HOSTTARGETBIN += blake2/test_blake2s_selftest +blake2/test_blake2s_selftest.SRCS = blake2/test_blake2s_selftest.cc + TESTS += blake2/test_blake2s_selftest include ../rules.mk |