Move tests to relevant subprojects (#615)

- Moved test projects to the parent project they belong to
- Improved test stability/corectness
- Improved recursive directory deletion by safely ignoring current- and parent-directory entries.
- Update docs
This commit is contained in:
Ken Van Hoeylandt
2026-08-13 23:01:12 +02:00
committed by GitHub
parent d6b1d15e56
commit f943c4dd69
64 changed files with 137 additions and 1539 deletions
+16
View File
@@ -0,0 +1,16 @@
project(CryptModuleTests)
enable_language(C CXX ASM)
file(GLOB_RECURSE TEST_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/source/*.cpp)
add_executable(CryptModuleTests EXCLUDE_FROM_ALL ${TEST_SOURCES})
target_include_directories(CryptModuleTests PRIVATE ${DOCTESTINC})
add_test(NAME CryptModuleTests COMMAND CryptModuleTests)
target_link_libraries(CryptModuleTests PUBLIC
crypt-module
TactilityKernel
freertos_kernel
)