]> git.proxmox.com Git - cargo.git/commitdiff
Help debug a flaky windows test
authorAlex Crichton <alex@alexcrichton.com>
Wed, 27 Aug 2014 01:58:58 +0000 (18:58 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 27 Aug 2014 01:58:58 +0000 (18:58 -0700)
tests/test_cargo_bench.rs

index 5ce05b4e4f3837935d27edd1ac0aad4f6e23d858..010617152f2f3fab77df510adad0c97e7ed6f6f0 100644 (file)
@@ -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