@@ -4792,6 +4792,20 @@ error: test failed, to rerun pass `--test t1`
4792
4792
[RUNNING] tests/t2.rs (target/debug/deps/t2[..])
4793
4793
error: test failed, to rerun pass `--test t2`
4794
4794
4795
+ Caused by:
4796
+ process didn't exit successfully: `[ROOT]/foo/target/debug/deps/t2[..]` (exit [..]: 4)
4797
+ " ,
4798
+ )
4799
+ . with_status ( 4 )
4800
+ . run ( ) ;
4801
+
4802
+ p. cargo ( "test --test t2 -- --nocapture" )
4803
+ . with_stderr (
4804
+ "\
4805
+ [FINISHED] test [..]
4806
+ [RUNNING] tests/t2.rs (target/debug/deps/t2[..])
4807
+ error: test failed, to rerun pass `--test t2`
4808
+
4795
4809
Caused by:
4796
4810
process didn't exit successfully: `[ROOT]/foo/target/debug/deps/t2[..]` (exit [..]: 4)
4797
4811
" ,
@@ -4809,6 +4823,27 @@ error: test failed, to rerun pass `--test t1`
4809
4823
[RUNNING] tests/t2.rs (target/debug/deps/t2[..])
4810
4824
error: test failed, to rerun pass `--test t2`
4811
4825
4826
+ Caused by:
4827
+ process didn't exit successfully: `[ROOT]/foo/target/debug/deps/t2[..]` (exit [..]: 4)
4828
+ error: 2 targets failed:
4829
+ `--test t1`
4830
+ `--test t2`
4831
+ " ,
4832
+ )
4833
+ . with_status ( 101 )
4834
+ . run ( ) ;
4835
+
4836
+ p. cargo ( "test --no-fail-fast -- --nocapture" )
4837
+ . with_stderr (
4838
+ "\
4839
+ [FINISHED] test [..]
4840
+ [RUNNING] tests/t1.rs (target/debug/deps/t1[..])
4841
+ thread 't' panicked at 'this is a normal error', tests/t1[..]
4842
+ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4843
+ error: test failed, to rerun pass `--test t1`
4844
+ [RUNNING] tests/t2.rs (target/debug/deps/t2[..])
4845
+ error: test failed, to rerun pass `--test t2`
4846
+
4812
4847
Caused by:
4813
4848
process didn't exit successfully: `[ROOT]/foo/target/debug/deps/t2[..]` (exit [..]: 4)
4814
4849
error: 2 targets failed:
0 commit comments