From 9aa16cf2debcb5587784ce8302b7c7743c8840dd Mon Sep 17 00:00:00 2001 From: MikeG Date: Wed, 13 Nov 2024 15:36:05 +0100 Subject: [PATCH] Only run the C++ unittests once (#380) * fixes #378 --- tests/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 45a5e7ca..6f57bc8c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -22,7 +22,6 @@ target_link_libraries(unittests Catch2::Catch2 nlohmann_json::nlohmann_json ) -add_test(NAME unittests COMMAND unittests WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}) catch_discover_tests(unittests WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}