mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 04:55:20 +01:00
[skip ci] Restore CMAKE_GITHUB_CI, disable some extended tests
This commit is contained in:
parent
cbb0a1ad8e
commit
6516c6cc94
@ -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()
|
||||||
|
@ -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<>();
|
||||||
|
@ -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<'\\'>;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user