diff options
| author | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-11-24 16:57:39 +0100 |
|---|---|---|
| committer | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-11-24 16:57:39 +0100 |
| commit | a83f0c3e14842adbc565b30f1b3fb9eccd7b44ec (patch) | |
| tree | 06679a52551110777c008901f5469556afc25fc8 /docs/progress_dashboard.md | |
| parent | 1504c1af63aeab49fb451ee42d3d051b29d4c976 (diff) | |
Document how to preserve CTest skips in the dashboard
Diffstat (limited to 'docs/progress_dashboard.md')
| -rw-r--r-- | docs/progress_dashboard.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/progress_dashboard.md b/docs/progress_dashboard.md index b36e938c8..963b8b071 100644 --- a/docs/progress_dashboard.md +++ b/docs/progress_dashboard.md | |||
| @@ -13,6 +13,16 @@ start ..\leonida_progress\progress.html | |||
| 13 | The page is one self-contained HTML file: no network, no packages, it opens from disk. The project logo | 13 | The page is one self-contained HTML file: no network, no packages, it opens from disk. The project logo |
| 14 | (`assets/logo.png`) is embedded in it, and the page follows the system theme until you pick one with its theme button. | 14 | (`assets/logo.png`) is embedded in it, and the page follows the system theme until you pick one with its theme button. |
| 15 | 15 | ||
| 16 | Use a CTest JUnit report when the run includes tests configured with `SKIP_RETURN_CODE`. CTest can log those | ||
| 17 | skips as `Test Passed.` in `LastTest.log`. `--ctest-junit` replaces the local log with the report, which preserves | ||
| 18 | the skipped status. Use `--junit` to add independent runs. | ||
| 19 | |||
| 20 | ```powershell | ||
| 21 | $report = Join-Path $env:TEMP 'leonida-ctest.xml' | ||
| 22 | ctest --test-dir runtime/build -C RelWithDebInfo --output-on-failure --output-junit $report | ||
| 23 | python -I tools/progress_dashboard.py --out ..\leonida_progress --ctest-junit $report | ||
| 24 | ``` | ||
| 25 | |||
| 16 | ## Sources | 26 | ## Sources |
| 17 | 27 | ||
| 18 | Each source is optional. A missing one is listed under "Sources" on the page; it is never counted as zero or as a failure. | 28 | Each source is optional. A missing one is listed under "Sources" on the page; it is never counted as zero or as a failure. |