--- a/tests/run-tests.py Wed Sep 30 15:43:49 2015 -0500
+++ b/tests/run-tests.py Wed Sep 30 16:01:19 2015 -0400
@@ -665,7 +665,10 @@
killdaemons(entry)
self._daemonpids = []
- if not self._keeptmpdir:
+ if self._keeptmpdir:
+ log('\nKeeping testtmp dir: %s\nKeeping threadtmp dir: %s' %
+ (self._testtmp, self._threadtmp))
+ else:
shutil.rmtree(self._testtmp, True)
shutil.rmtree(self._threadtmp, True)
--- a/tests/test-run-tests.t Wed Sep 30 15:43:49 2015 -0500
+++ b/tests/test-run-tests.t Wed Sep 30 16:01:19 2015 -0400
@@ -393,6 +393,14 @@
python hash seed: * (glob)
[1]
+test --tmpdir support
+ $ run-tests.py --with-hg=`which hg` --tmpdir=$TESTTMP/keep test-success.t
+
+ Keeping testtmp dir: $TESTTMP/keep/child1/test-success.t
+ Keeping threadtmp dir: $TESTTMP/keep/child1
+ .
+ # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
+
test for --time
==================