# HG changeset patch # User Gregory Szorc # Date 1569783618 25200 # Node ID 7eac24de491df0d4cb7430040c931334fc14a040 # Parent c07812bdd56829ef982e493a8a3465dd943fa5b5 tests: use test harness `hg` in test-hghave.t This prevents the sub test harness from rebuilding Mercurial. It shaves ~30s from the test wall time on my machine. Differential Revision: https://phab.mercurial-scm.org/D6908 diff -r c07812bdd568 -r 7eac24de491d tests/test-hghave.t --- a/tests/test-hghave.t Sat Sep 28 21:13:27 2019 -0700 +++ b/tests/test-hghave.t Sun Sep 29 12:00:18 2019 -0700 @@ -22,7 +22,7 @@ > EOF $ ( \ > testrepohgenv; \ - > "$PYTHON" $TESTDIR/run-tests.py -j 1 \ + > "$PYTHON" $TESTDIR/run-tests.py --with-hg=`which hg` -j 1 \ > $HGTEST_RUN_TESTS_PURE test-hghaveaddon.t \ > ) running 1 tests using 1 parallel processes