##// END OF EJS Templates
run-tests.py: allow a different temporary directory to be specified
Bryan O'Sullivan -
r5388:557e4a91 default
parent child Browse files
Show More
@@ -47,6 +47,8 b' parser.add_option("-s", "--cover_stdlib"'
47 47 help="print a test coverage report inc. standard libraries")
48 48 parser.add_option("-t", "--timeout", type="int",
49 49 help="kill errant tests after TIMEOUT seconds")
50 parser.add_option("--tmpdir", type="string",
51 help="run tests in the given temporary directory")
50 52 parser.add_option("-v", "--verbose", action="store_true",
51 53 help="output verbose messages")
52 54 parser.add_option("--with-hg", type="string",
@@ -394,7 +396,7 b" os.environ['LANG'] = os.environ['LC_ALL'"
394 396 os.environ['TZ'] = 'GMT'
395 397
396 398 TESTDIR = os.environ["TESTDIR"] = os.getcwd()
397 HGTMP = os.environ["HGTMP"] = tempfile.mkdtemp("", "hgtests.")
399 HGTMP = os.environ['HGTMP'] = tempfile.mkdtemp('', 'hgtests.', options.tmpdir)
398 400 DAEMON_PIDS = None
399 401 HGRCPATH = None
400 402
General Comments 0
You need to be logged in to leave comments. Login now