changeset 43005:7eac24de491d

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 29 Sep 2019 12:00:18 -0700
parents c07812bdd568
children d6f34ceb08db
files tests/test-hghave.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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