From 6516c6cc94319a42602b403cbfcaa11ef079890f Mon Sep 17 00:00:00 2001 From: ado Date: Wed, 21 Feb 2024 21:38:27 +0100 Subject: [PATCH] [skip ci] Restore CMAKE_GITHUB_CI, disable some extended tests --- test/CMakeLists.txt | 2 +- test/test_parser2_1.cpp | 2 +- test/test_parser2_2.cpp | 2 +- test/test_parser2_3.cpp | 2 +- test/test_parser2_4.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index b92273e..be399a1 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -41,6 +41,6 @@ foreach(name IN ITEMS test_splitter test_parser1_1 test_parser1_2 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_parser2_1.cpp b/test/test_parser2_1.cpp index 55ec45a..746611e 100644 --- a/test/test_parser2_1.cpp +++ b/test/test_parser2_1.cpp @@ -2,7 +2,7 @@ #include "test_parser2.hpp" TEST_CASE("parser test various cases version 2 segment 1") { -#ifdef CMAKE_GITHUB_CI +#ifdef CMAKE_GITHUB_CI_ using escape = ss::escape<'\\'>; test_option_combinations3<>(); diff --git a/test/test_parser2_2.cpp b/test/test_parser2_2.cpp index ec76aa9..761e2e7 100644 --- a/test/test_parser2_2.cpp +++ b/test/test_parser2_2.cpp @@ -2,7 +2,7 @@ #include "test_parser2.hpp" TEST_CASE("parser test various cases version 2 segment 2") { -#ifdef CMAKE_GITHUB_CI +#ifdef CMAKE_GITHUB_CI_ using quote = ss::quote<'"'>; using escape = ss::escape<'\\'>; diff --git a/test/test_parser2_3.cpp b/test/test_parser2_3.cpp index aab905c..a0b7711 100644 --- a/test/test_parser2_3.cpp +++ b/test/test_parser2_3.cpp @@ -2,7 +2,7 @@ #include "test_parser2.hpp" TEST_CASE("parser test various cases version 2 segment 3") { -#ifdef CMAKE_GITHUB_CI +#ifdef CMAKE_GITHUB_CI_ using quote = ss::quote<'"'>; using escape = ss::escape<'\\'>; using multiline = ss::multiline; diff --git a/test/test_parser2_4.cpp b/test/test_parser2_4.cpp index ea78aaf..db0581f 100644 --- a/test/test_parser2_4.cpp +++ b/test/test_parser2_4.cpp @@ -2,7 +2,7 @@ #include "test_parser2.hpp" TEST_CASE("parser test various cases version 2 segment 4") { -#ifdef CMAKE_GITHUB_CI +#ifdef CMAKE_GITHUB_CI_ using quote = ss::quote<'"'>; using escape = ss::escape<'\\'>; using multiline = ss::multiline;