[skip ci] Restore CMAKE_GITHUB_CI, disable some extended tests

This commit is contained in:
ado 2024-02-21 21:38:27 +01:00
parent cbb0a1ad8e
commit 6516c6cc94
5 changed files with 5 additions and 5 deletions

View File

@ -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 target_link_libraries("${name}" PRIVATE ssp::ssp fast_float
doctest::doctest) doctest::doctest)
target_compile_definitions( 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}") add_test(NAME "${name}" COMMAND "${name}")
endforeach() endforeach()

View File

@ -2,7 +2,7 @@
#include "test_parser2.hpp" #include "test_parser2.hpp"
TEST_CASE("parser test various cases version 2 segment 1") { TEST_CASE("parser test various cases version 2 segment 1") {
#ifdef CMAKE_GITHUB_CI #ifdef CMAKE_GITHUB_CI_
using escape = ss::escape<'\\'>; using escape = ss::escape<'\\'>;
test_option_combinations3<>(); test_option_combinations3<>();

View File

@ -2,7 +2,7 @@
#include "test_parser2.hpp" #include "test_parser2.hpp"
TEST_CASE("parser test various cases version 2 segment 2") { TEST_CASE("parser test various cases version 2 segment 2") {
#ifdef CMAKE_GITHUB_CI #ifdef CMAKE_GITHUB_CI_
using quote = ss::quote<'"'>; using quote = ss::quote<'"'>;
using escape = ss::escape<'\\'>; using escape = ss::escape<'\\'>;

View File

@ -2,7 +2,7 @@
#include "test_parser2.hpp" #include "test_parser2.hpp"
TEST_CASE("parser test various cases version 2 segment 3") { TEST_CASE("parser test various cases version 2 segment 3") {
#ifdef CMAKE_GITHUB_CI #ifdef CMAKE_GITHUB_CI_
using quote = ss::quote<'"'>; using quote = ss::quote<'"'>;
using escape = ss::escape<'\\'>; using escape = ss::escape<'\\'>;
using multiline = ss::multiline; using multiline = ss::multiline;

View File

@ -2,7 +2,7 @@
#include "test_parser2.hpp" #include "test_parser2.hpp"
TEST_CASE("parser test various cases version 2 segment 4") { TEST_CASE("parser test various cases version 2 segment 4") {
#ifdef CMAKE_GITHUB_CI #ifdef CMAKE_GITHUB_CI_
using quote = ss::quote<'"'>; using quote = ss::quote<'"'>;
using escape = ss::escape<'\\'>; using escape = ss::escape<'\\'>;
using multiline = ss::multiline; using multiline = ss::multiline;