Skip to content

Commit

Permalink
[build] Fix ctest not running all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yomnes0 committed Feb 14, 2024
1 parent 4ad0a41 commit 3bca46f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1522,15 +1522,11 @@ if (ENABLE_UNITTESTS AND ENABLE_CXX11)
)
#set_tests_properties(test-srt PROPERTIES RUN_SERIAL TRUE)
else()
gtest_add_tests(
TEST_LIST tests_srt
TARGET test-srt
)
set_tests_properties(${tests_srt} PROPERTIES RUN_SERIAL TRUE)
gtest_discover_tests(test-srt)
endif()

enable_testing()

endif()


Expand Down

0 comments on commit 3bca46f

Please sign in to comment.