run-tests: remove useless "failed" flag from addOutputMismatch()
authorYuya Nishihara <yuya@tcha.org>
Sat, 09 Jan 2016 13:22:26 +0900
changeset 28127 807bc140e915
parent 28126 562a073a2a1b
child 28128 92f2c69ee5a5
run-tests: remove useless "failed" flag from addOutputMismatch() It never be set to True.
tests/run-tests.py
--- 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