We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6a0fd1 commit ffccd88Copy full SHA for ffccd88
test/CMakeLists.txt
@@ -51,5 +51,6 @@ foreach(test ${tests})
51
get_filename_component(test_name ${test} NAME_WE)
52
add_executable(${test_name} ${test})
53
target_link_libraries(${test_name} PRIVATE tests-main)
54
- doctest_discover_tests(${test_name} PROPERTIES TIMEOUT 30)
+ string(REPLACE "_" " " test_prefix ${test_name})
55
+ doctest_discover_tests(${test_name} TEST_PREFIX ${test_prefix}- PROPERTIES TIMEOUT 30)
56
endforeach()
0 commit comments