]> git.proxmox.com Git - cargo.git/commit
Auto merge of #4970 - Gilnaa:master, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 22 Jan 2018 20:55:15 +0000 (20:55 +0000)
committerbors <bors@rust-lang.org>
Mon, 22 Jan 2018 20:55:15 +0000 (20:55 +0000)
commite5f6718a8cc009c1a122bc962e7fe78a4d564bbb
treeeed1af2b62831b5baffc2a56f10b67d142658de8
parent47136a3497ffda53628891125d33ea3d8a957b8a
parentf66ac370bd9f5abccf6d4e455df3f9cc2bb490f3
Auto merge of #4970 - Gilnaa:master, r=alexcrichton

Relaxed testing of libtest outputs.

This PR relaxes some checks on libtest due to upcoming changes by this PR:
https://github.com/rust-lang/rust/pull/46450

Summary of expected changes:

- Crashing benchmarks are now caught and handled just like in tests, and should not crash the harness. The old cargo test checked that the panic text was printed in stderr. In the patched behaviour, the text is printed to stdout.
With the advice of @alexcrichton, I changed test to check for the text in either stream in order to account of the transition period.