diff options
| author | QemmHD <stephenlethco2@gmail.com> | 2026-11-24 17:17:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-24 17:17:56 -0500 |
| commit | 4c3f3d8e5ae4975f305cd75e88c499b049d28331 (patch) | |
| tree | b871537b5b9c3ac3c1bbfb70aac0888f3ed65098 /runtime/test/cpp_unwind_test.cpp | |
| parent | 9f25f1ef2c9000c3d463bc4f5358cfcfd41a0c76 (diff) | |
| parent | a04f2036094b92cfc0b04ead594c7249ded347f7 (diff) | |
Merge pull request #1252 from Boost9898/fix/host-region-skip-code
Merging.
**Why merged:** main has been red on `tests/test_ctest_registration.py::test_whole_test_skips_return_the_skip_code` since #927. I merged #927, so this one's on me. It returns `kSkip` (`constexpr int kSkip = 77;`), and the checker compared the token itself with `"77"`. This PR resolves a named code through its `constexpr int` in the same source, so `return kSkip;` counts as 77. A genuinely wrong value (`kSkip = 0`) or an unknown name is still reported, and the new test covers all three cases. titoreinaldo also checked the logic against compiled fixtures on Linux.
**Why it's good:** test-only, 20 lines. On Windows 11, `tests/test_ctest_registration.py` gives 1 failed / 3 passed on main and 5 passed with this PR. The repo-consistency set with it merged gives 573 passed / 5 skipped / 0 failed. There's no change to any runtime code or to what the checker rejects.
I'm also adding `test_ctest_registration.py` to the checks we run before each merge, so this kind of break gets caught before it lands, not after.
AI-assisted (Claude Code, Claude Opus 5.5).
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions