Bisect the other way: only the object container tests

The previous head touched only docs/, which AppVeyor's only_commits filter
skips, so it produced no build and no status at all -- the pull request looked
green without ever having been built on MSVC 2015 or 2017.

Swap the guards instead of repeating that step: unit-custom-object-type.cpp is
enabled and the array and binary translation units are disabled. AppVeyor
already passed with all three disabled, so a failure here pins the cause on
no_key_compare_json or void_erase_json, and a pass pins it on the array or
binary file. Still temporary.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann
2026-08-31 21:05:28 +00:00
parent e024fe5fb6
commit 911273162a
3 changed files with 16 additions and 6 deletions
+8
View File
@@ -17,6 +17,12 @@
#include <type_traits>
#include <vector>
// 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
+8
View File
@@ -21,6 +21,12 @@
#include <cstddef>
#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
-6
View File
@@ -17,11 +17,6 @@
#include <utility>
#include <vector>
// 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