comparison tests/test-install.t @ 52195:2ff4a2533b92 stable

test-install: use the global hg for the install step This prevent error in some cases.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 07 Nov 2024 01:30:08 +0100
parents 57f0b86611c7
children e88939f53342
comparison
equal deleted inserted replaced
52194:16b300e30139 52195:2ff4a2533b92
1 $ . "$RUNTESTDIR/helpers-testrepo.sh"
2
1 hg debuginstall 3 hg debuginstall
2 $ hg debuginstall 4 $ hg debuginstall
3 checking encoding (ascii)... 5 checking encoding (ascii)...
4 checking Python executable (*) (glob) 6 checking Python executable (*) (glob)
5 checking Python implementation (*) (glob) 7 checking Python implementation (*) (glob)
210 our virtual env. Then pip doesn't think it's installed and doesn't try to build. 212 our virtual env. Then pip doesn't think it's installed and doesn't try to build.
211 $ rm installenv/share/python-wheels/wheel-*.whl >/dev/null 2>&1 || true 213 $ rm installenv/share/python-wheels/wheel-*.whl >/dev/null 2>&1 || true
212 214
213 Note: we use this weird path to run pip and hg to avoid platform differences, 215 Note: we use this weird path to run pip and hg to avoid platform differences,
214 since it's bin on most platforms but Scripts on Windows. 216 since it's bin on most platforms but Scripts on Windows.
215 $ ./installenv/*/pip install $TESTDIR/.. >> pip.log 217 $ (syshgenv; ./installenv/*/pip install $TESTDIR/.. >> pip.log)
216 Failed building wheel for mercurial (?) 218 Failed building wheel for mercurial (?)
217 WARNING: You are using pip version *; however, version * is available. (glob) (?) 219 WARNING: You are using pip version *; however, version * is available. (glob) (?)
218 You should consider upgrading via the '$TESTTMP/installenv/bin/python* -m pip install --upgrade pip' command. (glob) (?) 220 You should consider upgrading via the '$TESTTMP/installenv/bin/python* -m pip install --upgrade pip' command. (glob) (?)
219 (?) 221 (?)
220 [notice] A new release of pip is available: * -> * (glob) (?) 222 [notice] A new release of pip is available: * -> * (glob) (?)