Files

10 lines
1.5 KiB
Markdown

# Release gate process status
The gate formerly discarded CTest's exit status and inferred success solely from LastTestsFailed.log. A setup failure, interrupted process or empty test directory could therefore print GATE PASS when no failure records existed. An interrupted run containing only already-baselined failures could also pass.
The script now records CTest status and requests --no-tests=error. Only successful CTest completion or its ordinary test-failure status 8 with actual failure records can proceed to baseline evaluation. Other statuses or unsuccessful runs without records fail the gate. Existing baseline comparison, platform skips and content-parent checks remain in place. This does not claim to detect every incomplete test invocation; it closes the demonstrated process-status omissions.
The same isolated fixture has eight failing assertions/subtests against b9551e26 and passes all seven test methods after the change. It stubs build/test outcomes in temporary trees, uses real CTest for the empty-build case, and covers known/new failures, setup/process failure statuses, interruption after a known failure, and build failure. It neither compiles the gateway nor touches clients. The fixture is registered as regression-gate-process-status for future integration runs.
No new baseline entry or skip was added. Existing successful runtime gates are not invalidated retrospectively: their full 448-result logs were preserved and inspected. The new combined integration gate will exercise this script against the actual host suite.