Index: Tools/Scripts/check-testharness-expected-pass |
diff --git a/Tools/Scripts/check-testharness-expected-pass b/Tools/Scripts/check-testharness-expected-pass |
index 519132d6ca0a735f082a88b2f32e649ff3f0b01c..7ed48f7947b700c48e79795abda8e40a1e76d4f6 100755 |
--- a/Tools/Scripts/check-testharness-expected-pass |
+++ b/Tools/Scripts/check-testharness-expected-pass |
@@ -21,9 +21,9 @@ 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) and \ |
- not testharness_results.is_testharness_output_with_console_errors(content): |
+ if (testharness_results.is_testharness_output(content) and |
+ testharness_results.is_testharness_output_passing(content) and |
+ not testharness_results.is_testharness_output_with_console_errors_or_warnings(content)): |
paths.append(path) |
if len(paths) > 0: |