Base: codex-main originale (prima del fork aKode)
This commit is contained in:
15
bazel/rules/testing/wine/fixtures/windows_smoke.rs
Normal file
15
bazel/rules/testing/wine/fixtures/windows_smoke.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
use std::io::Write;
|
||||
|
||||
fn main() {
|
||||
println!("WINE_TEST_READY");
|
||||
std::io::stdout().flush().expect("flush readiness marker");
|
||||
|
||||
if std::env::args().any(|arg| arg == "--fail") {
|
||||
std::process::exit(9);
|
||||
}
|
||||
if std::env::args().any(|arg| arg == "--wait") {
|
||||
loop {
|
||||
std::thread::park();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user