Mercurial > public > mercurial-scm > hg-stable
diff tests/run-tests.py @ 27393:a40b623e6380
run-tests: report timeouts in a less alarming fashion
Rather than report timed-out tests like this:
ERROR: test-convert-svn-sink.t output changed
!
..simply put a 't' rather than a '.' in the stream.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 04 Dec 2015 14:55:10 -0600 |
parents | a4e3dec3010e |
children | b4d7743e174a |
line wrap: on
line diff
--- a/tests/run-tests.py Wed Dec 16 17:40:01 2015 -0600 +++ b/tests/run-tests.py Fri Dec 04 14:55:10 2015 -0600 @@ -1273,10 +1273,13 @@ self.stop() else: with iolock: - if not self._options.nodiff: - self.stream.write('\nERROR: %s output changed\n' % test) + if reason == "timed out": + self.stream.write('t') + else: + if not self._options.nodiff: + self.stream.write('\nERROR: %s output changed\n' % test) + self.stream.write('!') - self.stream.write('!') self.stream.flush() def addSuccess(self, test):