diff --git a/tests/src/unit-custom-array-type.cpp b/tests/src/unit-custom-array-type.cpp index 00606c6e0..f10455f15 100644 --- a/tests/src/unit-custom-array-type.cpp +++ b/tests/src/unit-custom-array-type.cpp @@ -17,6 +17,12 @@ #include #include +// TEMPORARY: this translation unit is disabled to narrow down an AppVeyor +// failure on MSVC 2015/2017 whose build log this environment cannot reach. +// The macro is deliberately never defined; the guard is removed again as soon +// as the cause is known. +#ifdef JSON_BISECT_CUSTOM_CONTAINER_TESTS + namespace { @@ -148,3 +154,5 @@ TEST_CASE("array type without at()") CHECK(j.at(no_at_json::json_pointer("/1")) == 2); CHECK_THROWS_AS(j.at(no_at_json::json_pointer("/3")), no_at_json::out_of_range); } + +#endif diff --git a/tests/src/unit-custom-binary-type.cpp b/tests/src/unit-custom-binary-type.cpp index d357ec9a3..b7718a769 100644 --- a/tests/src/unit-custom-binary-type.cpp +++ b/tests/src/unit-custom-binary-type.cpp @@ -21,6 +21,12 @@ #include #endif +// TEMPORARY: this translation unit is disabled to narrow down an AppVeyor +// failure on MSVC 2015/2017 whose build log this environment cannot reach. +// The macro is deliberately never defined; the guard is removed again as soon +// as the cause is known. +#ifdef JSON_BISECT_CUSTOM_CONTAINER_TESTS + namespace { @@ -77,3 +83,5 @@ TEST_CASE("binary type whose value type is not std::uint8_t") } #endif } + +#endif diff --git a/tests/src/unit-custom-object-type.cpp b/tests/src/unit-custom-object-type.cpp index ef1abface..64bbe2469 100644 --- a/tests/src/unit-custom-object-type.cpp +++ b/tests/src/unit-custom-object-type.cpp @@ -17,11 +17,6 @@ #include #include -// TEMPORARY: this translation unit is disabled to narrow down an AppVeyor -// failure on MSVC 2015/2017 whose build log this environment cannot reach. -// The macro is deliberately never defined; the guard is removed again as soon -// as the cause is known. -#ifdef JSON_BISECT_CUSTOM_CONTAINER_TESTS namespace { @@ -196,4 +191,3 @@ TEST_CASE("object type without key_compare") } } -#endif