From 455e3a69c801ac6502cf6a853dc0a3f41804fc71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Thu, 13 Aug 2026 03:24:06 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20test(audio):=20the=20two=20real-?= =?UTF-8?q?file=20cases=20come=20off=20the=20manifest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both had a literal path baked into the source, and a placeholder is what they were left with -- so each opened with a `!exists()` return and every run skipped the only case it exists for: the 8-channel Opus import and the seek that lands on its own second. They now ask `engine::real_library::film` for `av1_opus_71` and `av1_opus_51`, the same one-line gate the colour, PGS and dual-audio cases use: the local manifest names the file, is gitignored, and its absence is a skip line rather than a failure. `real_library.toml.example` grows the two keys, described by shape. --- crates/engine/tests/audio_decode.rs | 8 ++------ crates/engine/tests/audio_seek.rs | 8 ++------ real_library.toml.example | 8 ++++++++ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/crates/engine/tests/audio_decode.rs b/crates/engine/tests/audio_decode.rs index 13cb843..f147c22 100644 --- a/crates/engine/tests/audio_decode.rs +++ b/crates/engine/tests/audio_decode.rs @@ -348,13 +348,9 @@ fn seven_one_opus_folds_to_the_stereo_the_timeline_carries() { /// test that cannot make it must say nothing rather than something false. #[test] fn his_seven_one_remux_imports_and_plays() { - let film = PathBuf::from( - "/path/to/a-real-av1-opus-7.1-film.mkv", - ); - if !film.exists() { - eprintln!("skipped: {} is not on this machine", film.display()); + let Some(film) = engine::real_library::film("av1_opus_71") else { return; - } + }; // The import gate itself: this is the call whose `Err` the app printed. let probe = AudioSession::probe(&film, 0) .expect("the 7.1 track no longer refuses the import") diff --git a/crates/engine/tests/audio_seek.rs b/crates/engine/tests/audio_seek.rs index e409728..2ff68de 100644 --- a/crates/engine/tests/audio_seek.rs +++ b/crates/engine/tests/audio_seek.rs @@ -195,13 +195,9 @@ fn chirp_second(meta: &engine::audio::AudioMeta, samples: impl Iterator