Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Tue, 16 Nov 2010 16:59:06 +0100
changeset 863 de49207ef1a5
parent 861 bbb042e55f49 (current diff)
parent 862 c333552ec003 (diff)
child 864 2cadbd48a31b
Merge with stable
--- a/tests/run-tests.py	Tue Nov 09 10:31:54 2010 +0000
+++ b/tests/run-tests.py	Tue Nov 16 16:59:06 2010 +0100
@@ -504,7 +504,8 @@
         vlog("# Running", cmd)
         exitcode, output = run(cmd, options, replacements)
         # do not merge output if skipped, return hghave message instead
-        if exitcode == SKIPPED_STATUS:
+        # similarly, with --debug, output is None
+        if exitcode == SKIPPED_STATUS or output is None:
             return exitcode, output
     finally:
         os.remove(name)