aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/CMakeLists.txt
diff options
context:
space:
mode:
authormanuel <manuel.bott@eps.ch>2026-10-29 09:24:10 +0000
committermanuel <manuel.bott@eps.ch>2026-11-12 07:23:08 +0000
commit58003f68894d4f0c42ca30e3a32fa245db8d8036 (patch)
tree2dc4d6a4b5fdfa4a35a4c08105486e58e124b8ea /libs/kstd/CMakeLists.txt
parenta07877fd2d60402d81179c0ad90d54a8ea26b0c9 (diff)
downloadkernel-58003f68894d4f0c42ca30e3a32fa245db8d8036.tar.xz
kernel-58003f68894d4f0c42ca30e3a32fa245db8d8036.zip
kstd: add Catch2 string makers for printable test output
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'libs/kstd/CMakeLists.txt')
-rw-r--r--libs/kstd/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt
index 1902d0d9..d7af1952 100644
--- a/libs/kstd/CMakeLists.txt
+++ b/libs/kstd/CMakeLists.txt
@@ -83,6 +83,10 @@ if(BUILD_TESTING)
teachos_add_tests("kstd")
+ target_compile_options("kstd_tests" PRIVATE
+ "SHELL:-include ${CMAKE_CURRENT_SOURCE_DIR}/kstd/test_support/string_makers.hpp"
+ )
+
if(COMMAND "enable_coverage" AND KSTD_ENABLE_TEST_COVERAGE)
enable_coverage("kstd")
enable_coverage("kstd_tests")