changeset 21919:c350cff58444

run-tests: make --view work again
author Matt Mackall <mpm@selenic.com>
date Fri, 18 Jul 2014 17:52:18 -0500
parents 10abc3a5c6b2
children 1d04d3fe616d
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Sun Jul 06 02:56:41 2014 +0900
+++ b/tests/run-tests.py	Fri Jul 18 17:52:18 2014 -0500
@@ -1136,7 +1136,8 @@
         if self._options.nodiff:
             pass
         elif self._options.view:
-            os.system("%s %s %s" % (self._view, test.refpath, test.errpath))
+            os.system("%s %s %s" %
+                      (self._options.view, test.refpath, test.errpath))
         else:
             failed, lines = getdiff(expected, got,
                                     test.refpath, test.errpath)