changeset 28127:807bc140e915

run-tests: remove useless "failed" flag from addOutputMismatch() It never be set to True.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 09 Jan 2016 13:22:26 +0900
parents 562a073a2a1b
children 92f2c69ee5a5
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Sat Jan 09 13:20:15 2016 +0900
+++ b/tests/run-tests.py	Sat Jan 09 13:22:26 2016 +0900
@@ -1350,7 +1350,6 @@
             return
 
         accepted = False
-        failed = False
         lines = []
 
         with iolock:
@@ -1391,7 +1390,7 @@
                     else:
                         rename(test.errpath, '%s.out' % test.path)
                     accepted = True
-            if not accepted and not failed:
+            if not accepted:
                 self.faildata[test.name] = b''.join(lines)
 
         return accepted