rust/src/test/run-pass/lib-run.rs
Brian Anderson 00e017f60e Disable run-pass/lib-run on win32. Issue #714
Trying to get the tinderbox green again. Will pursue later.
2011-07-19 15:55:15 -07:00

22 lines
380 B
Rust

// xfail-stage0
use std;
import std::run;
// Regression test for memory leaks
// FIXME (714) Why does this fail on win32?
#[cfg(target_os = "linux")]
#[cfg(target_os = "macos")]
fn test_leaks() {
run::run_program("echo", []);
run::start_program("echo", []);
run::program_output("echo", []);
}
#[cfg(target_os = "win32")]
fn test_leaks() {}
fn main() {
test_leaks();
}