rust/src/test/run-pass/lib-run.rs
Marijn Haverbeke bc33897525 Revert "Enable run-pass/lib-run on win32. Closes #714"
This reverts commit 1348a383c3.

Seems that this test is still broken on win.
2011-07-22 09:59:27 +02:00

22 lines
No EOL
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();
}