a02d892f831f
common.rs
//! Test helpers shared by the `soundcraft-cli` integration test binaries.
use std::ffi::OsString;
/// Nextest archives relocate binaries; plain Cargo keeps the compile-time path valid.
pub fn soundcraft_cli_binary() -> OsString {
std::env::var_os("NEXTEST_BIN_EXE_soundcraft_cli")
.or_else(|| std::env::var_os("NEXTEST_BIN_EXE_soundcraft-cli"))
.unwrap_or_else(|| env!("CARGO_BIN_EXE_soundcraft-cli").into())
}
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.