##// END OF EJS Templates
run-tests.py: inherit --pure option from outer run-tests.py execution...
FUJIWARA Katsunori -
r23935:d64dd125 stable
parent child Browse files
Show More
@@ -1664,6 +1664,9 b' class TestRunner(object):'
1664 pypath.append(oldpypath)
1664 pypath.append(oldpypath)
1665 os.environ[IMPL_PATH] = os.pathsep.join(pypath)
1665 os.environ[IMPL_PATH] = os.pathsep.join(pypath)
1666
1666
1667 if self.options.pure:
1668 os.environ["HGTEST_RUN_TESTS_PURE"] = "--pure"
1669
1667 self._coveragefile = os.path.join(self._testdir, '.coverage')
1670 self._coveragefile = os.path.join(self._testdir, '.coverage')
1668
1671
1669 vlog("# Using TESTDIR", self._testdir)
1672 vlog("# Using TESTDIR", self._testdir)
@@ -3,7 +3,7 b' This file tests the behavior of run-test'
3 Smoke test
3 Smoke test
4 ============
4 ============
5
5
6 $ $TESTDIR/run-tests.py
6 $ $TESTDIR/run-tests.py $HGTEST_RUN_TESTS_PURE
7
7
8 # Ran 0 tests, 0 skipped, 0 warned, 0 failed.
8 # Ran 0 tests, 0 skipped, 0 warned, 0 failed.
9
9
General Comments 0
You need to be logged in to leave comments. Login now