@@ -4792,6 +4792,20 @@ error: test failed, to rerun pass `--test t1`
47924792[RUNNING] tests/t2.rs (target/debug/deps/t2[..])
47934793error: test failed, to rerun pass `--test t2`
47944794
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+
47954809Caused by:
47964810 process didn't exit successfully: `[ROOT]/foo/target/debug/deps/t2[..]` (exit [..]: 4)
47974811" ,
@@ -4809,6 +4823,27 @@ error: test failed, to rerun pass `--test t1`
48094823[RUNNING] tests/t2.rs (target/debug/deps/t2[..])
48104824error: test failed, to rerun pass `--test t2`
48114825
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+
48124847Caused by:
48134848 process didn't exit successfully: `[ROOT]/foo/target/debug/deps/t2[..]` (exit [..]: 4)
48144849error: 2 targets failed:
0 commit comments