Repository navigation
Conversation
…y passing Sample-data-gated tests in crates/xcl/tests/ return early when their XCL_SAMPLE_* variable is unset, counting as ok without exercising their paths and without a visible per-test annotation (29 on a machine with no sample data). Write SKIPPED <test>: no XCL_SAMPLE_* to stderr for each missing-data gate, reported per test outside the OnceLock-cached helpers, and summarize sample-data skips separately from GPU-capability skips in scripts/test.ps1. XCL_REQUIRE_GPU is unchanged: missing data is not a GPU capability failure. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Independent verification on current Machine: Windows 11, Ryzen 9 7900X; Rust stable MSVC, debug.
AI use: test runs by Devin (Cognition, SWE-2); no code changes. |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
No open or merged PR makes the same change (#2489 only reformats the debug-layer SKIPPED lines in AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Follow-up to the skip-visibility discussion in #42, complementary to the GPU-capability reporting implemented by #51.
Sample-data-gated tests in
crates/xcl/tests/can return before exercising their intended checks when the correspondingXCL_SAMPLE_*variable is unset. On the tested RTX 3050 configuration, 29 such tests were counted asokwithout exercising their sample-data paths or producing visible per-test SKIPPED annotations.This change:
SKIPPED <test>: no XCL_SAMPLE_*directly to stderr for each missing-data gate.OnceLock-cached setup helpers.scripts/test.ps1, keeping these skips distinct from GPU-capability skips.XCL_REQUIRE_GPUbehavior: missing sample data is not a GPU capability failure.This is reporting, not native libtest skip status: the Rust test harness still reports normally returning tests as
ok; the stderr annotations and PowerShell summary make the unexecuted sample-data paths explicit.Tested
Windows 11 build 26300, NVIDIA RTX 3050 Laptop (driver 617.14), DXC 1.9.2602.17.
cargo build --workspace: PASS.scripts/test.ps1: exit code 0.XCL_SAMPLE_BCPACKinput entered the real decode path and failed meaningfully.Not tested
AI use
Implemented with Devin using SWE-2 Max as the AI coding model. Build and test commands were executed on the contributor's Windows machine, and the results were reviewed against the local logs.