diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run_tests.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/run_tests.py b/tests/run_tests.py index 24faab2..578f5fd 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -53,8 +53,13 @@ class TestRunner: cmd += [tc.GetInputPath()] try: - subprocess.check_output(cmd) + err = subprocess.check_output(cmd, stderr=subprocess.STDOUT) + if err != "" and not tc.IsExpectedFail(): + sys.stdout.write(err) + return False + except Exception as e: + print e.output if not tc.IsExpectedFail(): print e return False |