Show More
@@ -1293,6 +1293,7 b' class TestRunner(object):' | |||
|
1293 | 1293 | self.bindir = None |
|
1294 | 1294 | self.tmpbinddir = None |
|
1295 | 1295 | self.pythondir = None |
|
1296 | self.coveragefile = None | |
|
1296 | 1297 | |
|
1297 | 1298 | def main(args, parser=None): |
|
1298 | 1299 | runner = TestRunner() |
@@ -1340,7 +1341,6 b' def main(args, parser=None):' | |||
|
1340 | 1341 | # we do the randomness ourself to know what seed is used |
|
1341 | 1342 | os.environ['PYTHONHASHSEED'] = str(random.getrandbits(32)) |
|
1342 | 1343 | |
|
1343 | global COVERAGE_FILE | |
|
1344 | 1344 | runner.testdir = os.environ['TESTDIR'] = os.getcwd() |
|
1345 | 1345 | if options.tmpdir: |
|
1346 | 1346 | options.keep_tmpdir = True |
@@ -1409,7 +1409,7 b' def main(args, parser=None):' | |||
|
1409 | 1409 | pypath.append(oldpypath) |
|
1410 | 1410 | os.environ[IMPL_PATH] = os.pathsep.join(pypath) |
|
1411 | 1411 | |
|
1412 |
|
|
|
1412 | runner.coveragefile = os.path.join(runner.testdir, ".coverage") | |
|
1413 | 1413 | |
|
1414 | 1414 | vlog("# Using TESTDIR", runner.testdir) |
|
1415 | 1415 | vlog("# Using HGTMP", runner.hgtmp) |
General Comments 0
You need to be logged in to leave comments.
Login now