From 33f65e20615a6fb124134bc8e061cf0aca78f511 Mon Sep 17 00:00:00 2001 From: ado Date: Thu, 21 Jan 2021 01:41:54 +0100 Subject: [PATCH] remove test_main from ci --- test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7f9a7a8..2783f69 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -31,6 +31,7 @@ enable_testing() foreach(name IN ITEMS test_main test_parser test_converter test_extractions) add_executable("${name}" "${name}.cpp") target_link_libraries("${name}" PRIVATE ssp::ssp doctest::doctest) - target_compile_definitions("${name}" PRIVATE CMAKE_GITHUB_CI) + target_compile_definitions("${name}" PRIVATE \ + DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN CMAKE_GITHUB_CI) doctest_discover_tests("${name}") endforeach()