mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-06 15:21:09 +00:00
Tests: keep CAD test names ASCII so Windows CTest can select them
OrcaSlicer#16019's Windows unit-test jobs failed on one test, "Hole
standards: ... 82° countersink": CTest passes the test name to Catch on
the command line, the ° arrives in the ANSI code page, the filter
matches no test and the run counts as failed ("No test cases matched",
"No tests ran"). The name now says "82 degree"; it was the only test
name in the suite outside ASCII.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QK4VgguuCAk2hZLWgcjJb9
This commit is contained in:
@@ -8848,7 +8848,9 @@ TEST_CASE("A circular pattern spans its whole angle", "[CadDocument][pattern]")
|
||||
CHECK(doc.display_mesh.bounding_box().max.y() > 10.5);
|
||||
}
|
||||
|
||||
TEST_CASE("Hole standards: inch sizes by either name, with their 82° countersink", "[CadDocument][hole]")
|
||||
// ASCII only: CTest passes the name to Catch on the command line, and on Windows a "°" arrives in
|
||||
// the ANSI code page, matches no test and fails the run.
|
||||
TEST_CASE("Hole standards: inch sizes by either name, with their 82 degree countersink", "[CadDocument][hole]")
|
||||
{
|
||||
CadDocument doc;
|
||||
const int a = doc.add_hole_standard("1/4-20", 2, true, 10, 0, 0, SketchPlane::XY(), "H1");
|
||||
|
||||
Reference in New Issue
Block a user