2 minor findings · 1 suggestion
Earlier concerns neither republished nor resolved: 5 minor findings · 6 suggestions. See the Run archive for their assessments.
Findings
[minor] · The documented core-dump option is rejected
Following the unit-test README's --catch_system_errors=no instruction makes the new runner exit with status 2 before executing any test.
Location: src/test/util/framework.cpp:330 (head).
Details and suggested fix
src/test/README.md:153-157 tells developers to pass the plural --catch_system_errors=no, but the parser recognizes only singular --catch_system_error. The documented spelling reaches the unknown-argument branch, and run() prints usage and exits before reproducing the fault. Accept the plural spelling as an alias to preserve the documented command. Also update the README's Boost-runner descriptions, particularly the interception claim: the new runner does not install a system-fault handler, accepts =no as a no-op, and rejects =yes. Core-dump generation remains subject to OS configuration and limits. CTest uses the accepted singular spelling, so its invocation is unaffected.
[minor] · Malformed shuffle seeds are accepted or silently disable shuffling
A mistyped BOOST_TEST_RANDOM override can use an unintended seed or disable test-order shuffling without an invalid-input diagnostic.
Location: src/test/util/framework.cpp:375 (head).
Details and suggested fix
parse_shuffle_seed() checks result.ec but not whether result.ptr reached the end, so 42junk selects seed 42 and 1junk requests OS entropy. Non-numeric or overflowing values instead return nullopt, just like unset or 0, and run() silently retains registration order. Require full-string consumption and report invalid values separately from deliberately disabled shuffling. CI defaults the variable to the valid value 1, and no in-repository producer of malformed values was found; this affects mistyped manual or CI overrides.
Optional improvements
[suggestion] · current_test_full_name() documents the wrong separator
The header promises suite::case, but callers receive suite/case.
Location: src/test/util/framework.h:277 (head).
Details and suggested fix
test_name() joins a non-empty suite and case name with /. The runner stores that value in TestContext, and current_test_full_name() returns it unchanged. Change the header comment to describe suite/case, or just the case name for tests outside a suite, matching the implementation and the existing comment in src/test/main.cpp.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Verify the vcpkg Boost workaround is obsolete for remaining Boost headers
- [minor]: Mixed-signedness checks do not preserve the written comparison
- [minor]: Make CTest discover suites declared with the new macro
- [minor]: Do not apply
strcmpto raw character-pointer comparisons - [minor]: C-string checks replace pointer equality with content equality
- [suggestion]: Add focused tests for runner options and filters
- [suggestion]: Test the replacement runner’s failure paths in isolation
- [suggestion]: Exception-only failures report
0/N checks failed(earlier report) - [suggestion]: Duplicate test names share the same runner identity (earlier report)
- [suggestion]: Boolean Boost shims print an unrelated operator<< hint (earlier report)
- [minor]: Exception-checking macros swallow
REQUIREaborts (earlier report)