Index: Tools/Scripts/check-testharness-expected-pass |
diff --git a/Tools/Scripts/check-testharness-expected-pass b/Tools/Scripts/check-testharness-expected-pass |
index 3d7e992253c14fa99fd782adb298276a2ddd2566..519132d6ca0a735f082a88b2f32e649ff3f0b01c 100755 |
--- a/Tools/Scripts/check-testharness-expected-pass |
+++ b/Tools/Scripts/check-testharness-expected-pass |
@@ -22,11 +22,12 @@ paths = [] |
for path in sys.argv[1:]: |
content = open(path, 'r').read() |
if testharness_results.is_testharness_output(content) and \ |
- testharness_results.is_testharness_output_passing(content): |
+ testharness_results.is_testharness_output_passing(content) and \ |
+ not testharness_results.is_testharness_output_with_console_errors(content): |
Dirk Pranke
2015/04/30 16:00:37
nit: the expressions should be line wrapped by wra
jww
2015/04/30 16:18:37
Done (on the actual CL)
|
paths.append(path) |
if len(paths) > 0: |
- sys.stderr.write('* The following files are passing testharness results, they should be removed:\n ') |
+ sys.stderr.write('* The following files are passing testharness results without console error messages, they should be removed:\n ') |
sys.stderr.write('\n '.join(paths)) |
sys.stderr.write('\n') |
- sys.exit("ERROR: found passing testharness results.") |
+ sys.exit("ERROR: found passing testharness results without console error messages.") |