##// END OF EJS Templates
run-tests: report paths saved by --keep-tmpdir
timeless@mozdev.org -
r26422:41436bea default
parent child Browse files
Show More
@@ -665,7 +665,10 b' class Test(unittest.TestCase):'
665 killdaemons(entry)
665 killdaemons(entry)
666 self._daemonpids = []
666 self._daemonpids = []
667
667
668 if not self._keeptmpdir:
668 if self._keeptmpdir:
669 log('\nKeeping testtmp dir: %s\nKeeping threadtmp dir: %s' %
670 (self._testtmp, self._threadtmp))
671 else:
669 shutil.rmtree(self._testtmp, True)
672 shutil.rmtree(self._testtmp, True)
670 shutil.rmtree(self._threadtmp, True)
673 shutil.rmtree(self._threadtmp, True)
671
674
@@ -393,6 +393,14 b' No Diff'
393 python hash seed: * (glob)
393 python hash seed: * (glob)
394 [1]
394 [1]
395
395
396 test --tmpdir support
397 $ run-tests.py --with-hg=`which hg` --tmpdir=$TESTTMP/keep test-success.t
398
399 Keeping testtmp dir: $TESTTMP/keep/child1/test-success.t
400 Keeping threadtmp dir: $TESTTMP/keep/child1
401 .
402 # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
403
396 test for --time
404 test for --time
397 ==================
405 ==================
398
406
General Comments 0
You need to be logged in to leave comments. Login now