changeset 21736:07eb76186b41

run-tests: produce '!' mark after running a failing test This patch fixes a regression recently introduced by a refactoring (see 92a6b16c9186 and about 200 previous changesets from Gregory Szorc). '!' mark denotes that the test gets failed while testing.
author anuraggoel <anurag.dsps@gmail.com>
date Thu, 12 Jun 2014 01:28:22 +0530
parents 5ee547fdb0be
children 8a63e691179a
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Thu Jun 12 01:36:57 2014 +0530
+++ b/tests/run-tests.py	Thu Jun 12 01:28:22 2014 +0530
@@ -1079,6 +1079,7 @@
         else:
             if not self._options.nodiff:
                 self.stream.write('\nERROR: %s output changed\n' % test)
+            self.stream.write('!')
 
     def addError(self, *args, **kwargs):
         super(TestResult, self).addError(*args, **kwargs)