From: Alex Crichton Date: Wed, 27 Aug 2014 01:58:58 +0000 (-0700) Subject: Help debug a flaky windows test X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1322a392eb477fb289cd72ade3546fc4f4125d3e;p=cargo.git Help debug a flaky windows test --- diff --git a/tests/test_cargo_bench.rs b/tests/test_cargo_bench.rs index 5ce05b4e4..010617152 100644 --- a/tests/test_cargo_bench.rs +++ b/tests/test_cargo_bench.rs @@ -703,19 +703,23 @@ test!(bench_dylib { pub fn baz() {} "); - assert_that(p.cargo_process("bench"), + assert_that(p.cargo_process("bench").arg("-v"), execs().with_status(0) .with_stdout(format!("\ +{running} [..] +{running} [..] +{running} [..] +{running} [..] {compiling} bar v0.0.1 ({dir}) {compiling} foo v0.0.1 ({dir}) -{running} target[..]release[..]bench-[..] +{running} [..]target[..]release[..]bench-[..] running 1 test test foo ... bench: 0 ns/iter (+/- 0) test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured -{running} target[..]release[..]foo-[..] +{running} [..]target[..]release[..]foo-[..] running 1 test test foo ... bench: 0 ns/iter (+/- 0) @@ -723,6 +727,7 @@ test foo ... bench: 0 ns/iter (+/- 0) test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured {doctest} foo +{running} [..] running 0 tests