# HG changeset patch # User Matt Mackall # Date 1369421237 18000 # Node ID c6a4dd8d18a9af8ba514e0a434374778d31a1ce0 # Parent 29767671c0531a37b64c41fdac3c30ec11c369f2 run-tests: regroup temp dir creation [ original upstream message ] diff -r 29767671c053 -r c6a4dd8d18a9 tests/run-tests.py --- a/tests/run-tests.py Fri May 24 13:41:20 2013 -0500 +++ b/tests/run-tests.py Fri May 24 13:47:17 2013 -0500 @@ -918,6 +918,7 @@ # Make a tmp subdirectory to work in testtmp = os.environ["TESTTMP"] = os.environ["HOME"] = \ os.path.join(HGTMP, os.path.basename(test)) + os.mkdir(testtmp) replacements = [ (r':%s\b' % options.port, ':$HGPORT'), @@ -934,7 +935,6 @@ else: replacements.append((re.escape(testtmp), '$TESTTMP')) - os.mkdir(testtmp) if options.time: starttime = time.time() ret, out = runner(testpath, testtmp, options, replacements)