From 6e27f35209e586ac0d6f08dc2fed5b0f34c9b5ec Mon Sep 17 00:00:00 2001 From: ado Date: Tue, 8 Aug 2023 02:08:31 +0200 Subject: [PATCH] Update coverage ci --- test/CMakeLists.txt | 2 +- test/test_helpers.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e757397..94c3327 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -41,6 +41,6 @@ foreach(name IN ITEMS test_splitter test_parser test_converter test_extractions target_link_libraries("${name}" PRIVATE ssp::ssp fast_float doctest::doctest) target_compile_definitions( - "${name}" PRIVATE DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN _CMAKE_GITHUB_CI) + "${name}" PRIVATE DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN CMAKE_GITHUB_CI) add_test(NAME "${name}" COMMAND "${name}") endforeach() diff --git a/test/test_helpers.hpp b/test/test_helpers.hpp index 0437935..b7f362f 100644 --- a/test/test_helpers.hpp +++ b/test/test_helpers.hpp @@ -6,7 +6,7 @@ #include #include -#ifdef _CMAKE_GITHUB_CI +#ifdef CMAKE_GITHUB_CI #include #else #include