aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-01-03 11:41:47 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-01-03 11:41:47 -0500
commit272231cf29b8ce348d53b6950247fd7faec2d372 (patch)
tree2ce7f666a97ed50c08b1cc525dec8a5a5ce95939 /tests
parentb840c9737effa4b9c5e6550efab468c53e86cf11 (diff)
downloadstasis-272231cf29b8ce348d53b6950247fd7faec2d372.tar.gz
Add TESTS_VERBOSE cmake option
* Defines STASIS_TEST_VERBOSE
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 2b09e9e..08ef833 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -30,6 +30,9 @@ foreach(source_file ${source_files})
elseif (CMAKE_C_COMPILER_ID STREQUAL "MSVC")
target_compile_options(${test_executable} PRIVATE ${win_cflags} ${win_msvc_cflags})
endif()
+ if (TESTS_VERBOSE)
+ target_compile_definitions(${test_executable} PRIVATE STASIS_TEST_VERBOSE=1)
+ endif ()
target_include_directories(${test_executable} PRIVATE
${core_INCLUDE}
${delivery_INCLUDE}