Mercurial > forks > mercurial
changeset 53192:77ce3222d16b
test: use a --pure run for hghave test
There is no need to recompile a full Mercurial for this.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 17 Apr 2025 14:59:07 +0200 |
parents | b71ba9c6b5f8 |
children | a95fa9e876e0 |
files | tests/test-hghave.t |
diffstat | 1 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-hghave.t Fri Apr 18 22:03:59 2025 +0200 +++ b/tests/test-hghave.t Thu Apr 17 14:59:07 2025 +0200 @@ -22,10 +22,17 @@ > $ echo foo > foo > EOF + +# We use --pure install to avoid doing a full build and install of Mercurial in +# the middle of the test (and the associated dependencies) + $ ( \ > testrepohgenv; \ - > "$PYTHON" $TESTDIR/run-tests.py --with-hg=$HGTEST_REAL_HG -j 1 \ - > $HGTEST_RUN_TESTS_PURE test-hghaveaddon.t \ + > "$PYTHON" $TESTDIR/run-tests.py \ + > --with-hg=$HGTEST_REAL_HG \ + > --jobs 1 \ + > --pure \ + > test-hghaveaddon.t \ > ) installed Mercurial in * seconds (glob) (?) running 1 tests using 1 parallel processes