From c14939ceecbfa102afc8ff36b5a31135f67e7f43 Mon Sep 17 00:00:00 2001 From: Dani S Date: Wed, 1 Jul 2026 23:18:33 -0400 Subject: [PATCH] test: drop irix_install_scsi_disk_present (asserted a gitignored disk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `irix_install_scsi_disk_present` asserted that `irix-install/scsi1.raw` exists on disk, but that root image is gitignored and never present in CI or a fresh clone, so the test fails on every runner. It also isn't a real invariant: a root disk may be supplied as either a raw image or a CHD, so the specific `.raw` path is not required. The test exercised no emulator behavior — it only checked for a local artifact — so remove it and update the module doc to note the smoke config takes a raw or CHD disk. Co-Authored-By: Claude Opus 4.8 --- src/platform_profile_tests.rs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/platform_profile_tests.rs b/src/platform_profile_tests.rs index f73e2e5..7b3a261 100644 --- a/src/platform_profile_tests.rs +++ b/src/platform_profile_tests.rs @@ -1,8 +1,8 @@ //! Headless acceptance tests for IP22/IP24 profile wiring, XZ, and IMPACT stubs. //! -//! These run in `cargo test --lib` without booting the guest. When -//! `irix-install/scsi1.raw` is present, use `iris-indigo2-smoke-ci.toml` for -//! live boot checks (monitor on 127.0.0.1:8888; CI serial is channel B / IRIX). +//! These run in `cargo test --lib` without booting the guest. For live boot +//! checks, point `iris-indigo2-smoke-ci.toml` at a local IRIX root disk (raw or +//! CHD; monitor on 127.0.0.1:8888; CI serial is channel B / IRIX). #[cfg(test)] mod tests { @@ -25,15 +25,6 @@ mod tests { cfg } - #[test] - fn irix_install_scsi_disk_present() { - let path = concat!(env!("CARGO_MANIFEST_DIR"), "/irix-install/scsi1.raw"); - assert!( - std::path::Path::new(path).exists(), - "irix-install/scsi1.raw — IRIX root disk for smoke/CI configs" - ); - } - #[test] fn indigo2_smoke_ci_toml_parses_and_validates() { let path = concat!(