mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:40:52 +01:00
[PR #965] [MERGED] docs: preserve CTest skips in dashboard reports (DOC-DASH-CTEST-JUNIT) #1002
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1002
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/965
Author: @TheGeogeo
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @Andretuta
Base:
main← Head:docs/dashboard-ctest-junit📝 Commits (2)
a83f0c3Document how to preserve CTest skips in the dashboarda7eb878docs: write each CTest report to a new file (DOC-DASH-CTEST-JUNIT)📊 Changes
1 file changed (+15 additions, -0 deletions)
View changed files
📝
docs/progress_dashboard.md(+15 -0)📄 Description
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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.