Show More
@@ -47,6 +47,8 b' parser.add_option("-s", "--cover_stdlib"' | |||||
47 | help="print a test coverage report inc. standard libraries") |
|
47 | help="print a test coverage report inc. standard libraries") | |
48 | parser.add_option("-t", "--timeout", type="int", |
|
48 | parser.add_option("-t", "--timeout", type="int", | |
49 | help="kill errant tests after TIMEOUT seconds") |
|
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 | parser.add_option("-v", "--verbose", action="store_true", |
|
52 | parser.add_option("-v", "--verbose", action="store_true", | |
51 | help="output verbose messages") |
|
53 | help="output verbose messages") | |
52 | parser.add_option("--with-hg", type="string", |
|
54 | parser.add_option("--with-hg", type="string", | |
@@ -394,7 +396,7 b" os.environ['LANG'] = os.environ['LC_ALL'" | |||||
394 | os.environ['TZ'] = 'GMT' |
|
396 | os.environ['TZ'] = 'GMT' | |
395 |
|
397 | |||
396 | TESTDIR = os.environ["TESTDIR"] = os.getcwd() |
|
398 | TESTDIR = os.environ["TESTDIR"] = os.getcwd() | |
397 |
HGTMP |
|
399 | HGTMP = os.environ['HGTMP'] = tempfile.mkdtemp('', 'hgtests.', options.tmpdir) | |
398 | DAEMON_PIDS = None |
|
400 | DAEMON_PIDS = None | |
399 | HGRCPATH = None |
|
401 | HGRCPATH = None | |
400 |
|
402 |
General Comments 0
You need to be logged in to leave comments.
Login now