file_ops: the corpus fan-out test skips without corpus/, like its siblings
ci / checks (push) Successful in 52s
ci / corpus (push) Successful in 23s

The round-14 QA probe asserted the corpus's presence instead of
following the house convention, so any checkout that never fetched
corpus/ — a bare CI runner, act — panicked instead of skipping.
Reported by the owner from an act run. Swept the workspace for other
unguarded corpus asserts: every remaining one either guards with the
skip or lives inside an #[ignore]d perf probe.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-08-27 00:24:44 -07:00
1 parent 7cd439f500
commit 20ad318d4e
1 file changed
+7 -1
+7 -1
View File
@@ -1391,7 +1391,13 @@ mod tests {
let root = Path::new(env!("CARGO_MANIFEST_DIR")).join("../../corpus");
let target_dir = root.join("ibex/vendor/lowrisc_ip/ip/prim/rtl");
let old = target_dir.join("prim_assert.sv");
assert!(old.is_file(), "the corpus is checked in: {old:?}");
// Skipped when `corpus/` is not checked out, like every other
// corpus test in this crate — asserting its presence panicked any
// environment (a bare CI checkout, `act`) that never fetched it.
if !old.is_file() {
eprintln!("corpus/ not checked out — skipping");
return;
}
let new = target_dir.join("prim_assert_renamed.sv");
let mut ws = Workspace::default();