run-tests: make --view work again
authorMatt Mackall <mpm@selenic.com>
Fri, 18 Jul 2014 17:52:18 -0500
changeset 21919 c350cff58444
parent 21918 10abc3a5c6b2
child 21920 1d04d3fe616d
run-tests: make --view work again
tests/run-tests.py
--- 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)