extra: Capture stdout/stderr of tests by default

When tests fail, their stdout and stderr is printed as part of the summary, but
this helps suppress failure messages from #[should_fail] tests and generally
clean up the output of the test runner.
This commit is contained in:
Alex Crichton 2014-02-12 10:25:09 -08:00
parent 665555d58f
commit ee2a888860
6 changed files with 78 additions and 34 deletions

View file

@ -10,6 +10,7 @@
// error-pattern:runned an unexported test
// compile-flags:--test
// check-stdout
extern mod extra;

View file

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// check-stdout
// error-pattern:task 'test_foo' failed at
// compile-flags: --test