Skip to content

Commit

Permalink
only run c++ unittests once (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeplf authored Nov 20, 2024
1 parent c88dfb0 commit 8f22c02
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,10 @@ if (MORPHIO_ENABLE_COVERAGE)
endif()

target_link_libraries(unittests
PRIVATE
PRIVATE
${TESTS_LINK_LIBRAIRIES}
)

add_test(NAME unittests
COMMAND unittests
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
)

if (NOT EXTERNAL_CATCH2)
catch_discover_tests( unittests
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
Expand Down

0 comments on commit 8f22c02

Please sign in to comment.