1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Subject: tests: disable part of test-run-tests.t
The install test relies on pip which we don't have in the build
environment. And with pip installed it warns about using the wrong
mercurial lib.
diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t
index dbee59e0..0ede4dca 100644
--- a/tests/test-run-tests.t
+++ b/tests/test-run-tests.t
@@ -6,22 +6,24 @@ Avoid interference from actual test env:
$ . "$TESTDIR/helper-runtests.sh"
Smoke test with install
============
$ PIP_NO_CACHE_DIR=1
$ export PIP_NO_CACHE_DIR
+#if false
$ (testrepohgenv; "$PYTHON" $TESTDIR/run-tests.py --pure)
installed Mercurial in * seconds (glob)
running 0 tests using 0 parallel processes
# Ran 0 tests, 0 skipped, 0 failed.
+#endif
Define a helper to avoid the install step
=============
$ rt()
> {
> "$PYTHON" $TESTDIR/run-tests.py \
> $HGTEST_RUN_TESTS_PURE \
> --with-hg=$HGTEST_REAL_HG \
|