|
|
@ -366,8 +366,8 @@ class TestHarness: |
|
|
|
else: |
|
|
|
else: |
|
|
|
res = self.run_single_test(wrap, t) |
|
|
|
res = self.run_single_test(wrap, t) |
|
|
|
if (res.returncode == 0 and res.should_fail) or \ |
|
|
|
if (res.returncode == 0 and res.should_fail) or \ |
|
|
|
(res.returncode != 0 and not res.should_fail) and \ |
|
|
|
(res.returncode != 0 and not res.should_fail): |
|
|
|
not self.options.verbose: |
|
|
|
if not self.options.verbose: |
|
|
|
print('Test failed:\n\n-- stdout --\n') |
|
|
|
print('Test failed:\n\n-- stdout --\n') |
|
|
|
print(res.stdo) |
|
|
|
print(res.stdo) |
|
|
|
print('\n-- stderr --\n') |
|
|
|
print('\n-- stderr --\n') |
|
|
|