Index: tools/clang/scripts/test_tool.py |
diff --git a/tools/clang/scripts/test_tool.py b/tools/clang/scripts/test_tool.py |
index a99e9f48ae3bcacb9f24f15cfcf215622087a842..09ff46033d56d0542126feb3ee4d8840ed01d990 100755 |
--- a/tools/clang/scripts/test_tool.py |
+++ b/tools/clang/scripts/test_tool.py |
@@ -87,12 +87,12 @@ def main(argv): |
with open(actual, 'r') as f: |
actual_output = f.readlines() |
if actual_output != expected_output: |
- print '[ FAILED ] %s' % os.path.relpath(actual) |
failed += 1 |
for line in difflib.unified_diff(expected_output, actual_output, |
fromfile=os.path.relpath(expected), |
tofile=os.path.relpath(actual)): |
sys.stdout.write(line) |
+ print '[ FAILED ] %s' % os.path.relpath(actual) |
# Don't clean up the file on failure, so the results can be referenced |
# more easily. |
continue |