Skip to content

Commit 2faa829

Browse files
committed
improve test cmake
1 parent 6657ff3 commit 2faa829

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,5 @@ foreach(testname ${ALL_TESTNAMES})
2424
PRIVATE ${CMAKE_SOURCE_DIR}/include
2525
)
2626
target_link_libraries(test.${testname} PRIVATE Catch2::Catch2WithMain)
27+
catch_discover_tests(test.${testname})
2728
endforeach()
28-
29-
catch_discover_tests(test.scope)
30-
catch_discover_tests(test.unique_resource)

0 commit comments

Comments
 (0)