Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .xlings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"workspace": {
"mcpp": "2026.9.17.1"
"mcpp": "2026.9.20.1"
}
}
10 changes: 10 additions & 0 deletions tests/unit/test_cenv_probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,16 @@ TEST(CenvProbeArgv, AFreestandingTargetWithoutASelectionIsRefused) {
ASSERT_FALSE(r.has_value())
<< "an argv with no target selection must be refused for a "
"freestanding target; it measures the build host";
// THE CLAUSE, NOT ONLY THE TRIPLE. Two other refusals this wave added were
// found malformed by rendering them: one lost a closing parenthesis, and
// one read as the claim it denies. Both had tests asserting an identifier
// inside the sentence, and an identifier sits in the right place in a
// sentence that is wrong. This message has one substitution and no paired
// delimiters, so it has no such failure mode -- the assertion is widened
// anyway, because that is a property of today's wording rather than of
// the check.
EXPECT_NE(r.error().find("would have run with no target selection"),
std::string::npos) << r.error();
EXPECT_NE(r.error().find("riscv64-none-elf"), std::string::npos)
<< "the refusal must name the target it was for: " << r.error();
}
Expand Down
Loading