Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/ai_test_audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ fn ai_test_audio_with_no_default_binds(
fn ai_test_audio_mounted_in_sandbox(mut sandbox: SandboxManager) -> Result<()> {
let paths = host_audio_paths();

// Without audio devices or sockets, e.g. on CI runners, --audio has
// nothing to bind, so there's nothing to check
if paths.is_empty() {
eprintln!("No audio devices or sockets found, skipping");
return Ok(());
}

for path in &paths {
assert!(sandbox.xfail(&["--no-config", "test", "-e", path]));
}
Expand Down
Loading