docs: preserve CTest skips in dashboard reports (DOC-DASH-CTEST-JUNIT) #965
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!965
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/dashboard-ctest-junit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Claimed in the coordination issue as: DOC-DASH-CTEST-JUNIT
What and why
Document the
--ctest-junitworkflow for dashboard runs where CTest tests may useSKIP_RETURN_CODE. In a synthetic run on CTest 4.3.1-msvc1,LastTest.logmarked an exit-77 skip asTest Passed.while the JUnit report retained the skipped status. The example shows how to generate and prefer that JUnit report and explains that--junitadds independent runs. It merges with the separate table changes in #757 (merged since).a7eb8782applies the review suggestion: each run writes its report to a new file name, and the example stops with an error when CTest wrote no report. With the fixed path, an aborted run (for example a missing build directory) left the previous report in place, and the dashboard recorded those older results again.Tested
Head
a7eb8782(two commits onmain1504c1af); it merges cleanly withmain6fe83805. Windows 11, Python 3.12.4:failed, the passing test staysverifiedand the exit-77 test staysunknown. Reproduced again on the same head in a later check.python -I -B tests/test_progress_dashboard.py: 50 passed; alltests/test_docs_*.pypassed;git diff --checkandpython -I -B scripts/check_no_game_data.py docs/progress_dashboard.md: clean.main6261ca91:tests/test_progress_dashboard.py51 passed. Merged withmain6fe83805:tests/test_progress_dashboard.py51 passed, the 47 tests oftests/test_docs_*.pypassed, andtest_tool_stdout_encoding.pyandtest_text_write_line_endings.pypassed.Earlier head
a83f0c3e:verifiedandunknown, respectively, through--ctest-junit.python -I -B tests/test_progress_dashboard.py: 50 passed.python -I -B tests/test_docs_links.py: 16 passed.python -I -B tests/test_docs_cli_flags.py: 4 passed.git diff --checkandpython -I -B scripts/check_no_game_data.py docs/progress_dashboard.md: passed.92152f3f): no conflicts.GPUs tested: n/a. Synthetic CPU-only tests.
AI-assisted: yes (Codex;
a7eb8782with Claude Code).Checklist
main.Verified the submitted head
a83f0c3e14842adbc565b30f1b3fb9eccd7b44ec. On the Linux host, the dashboard suite passed 50/50, docs link checks 16/16, CLI docs checks 4/4, plus the no-game-data and diff checks. I also reproduced the documented behavior in an isolated Fedora 45 container with CMake/CTest 4.3: a syntheticSKIP_RETURN_CODE 77test is reported as skipped by CTest, parsed from--output-junitasskip, and the dashboard command completed with the supplied--ctest-junitreport. No game data or GPU used.