diff options
| author | bors <bors@rust-lang.org> | 2015-08-18 08:51:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-08-18 08:51:02 +0000 |
| commit | a91f19f35662f83cdb20ae8445c941aaff33fc18 (patch) | |
| tree | a9b133cb94a797267cd4c5bcb274e0350d69370c /src/rustllvm/RustWrapper.cpp | |
| parent | 16cacbe2586fb37521679664798d006cd6831504 (diff) | |
| parent | bfc45834c110f7f021daffefcc2290c9133d6139 (diff) | |
| download | rust-a91f19f35662f83cdb20ae8445c941aaff33fc18.tar.gz rust-a91f19f35662f83cdb20ae8445c941aaff33fc18.zip | |
Auto merge of #27869 - alexcrichton:libtest-panic, r=brson
This commit removes the call to `panic!("Some tests failed")` at the end of all
tests run when running with libtest. The panic is replaced with
`std::process::exit` to have a nonzero error code, but this change both:
1. Makes the test runner no longer print out the extraneous panic message at the
end of a failing test run that some tests failed. (this is already summarized
in the output of the test run).
2. When running tests with `RUST_BACKTRACE` set it removes an extraneous
backtrace from the output (only failing tests will have their backtraces in
the output.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
