comparison tests/test-install.t @ 43622:45c15ed06f33

tests: add optional output when wheel is missing If the `wheel` package isn't installed, pip will emit a warning on stderr complaining about that. Alternatively, we could redirect stderr to stdout and swallow the warning. But I like tests having visibility of warnings, as it helps keep us honest regarding edge cases. Differential Revision: https://phab.mercurial-scm.org/D7371
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 11 Nov 2019 19:04:49 -0800
parents 697c2e32c490
children 94eac340d212
comparison
equal deleted inserted replaced
43621:975e517451a6 43622:45c15ed06f33
248 $ "$PYTHON" -m venv installenv >> pip.log 248 $ "$PYTHON" -m venv installenv >> pip.log
249 249
250 Note: we use this weird path to run pip and hg to avoid platform differences, 250 Note: we use this weird path to run pip and hg to avoid platform differences,
251 since it's bin on most platforms but Scripts on Windows. 251 since it's bin on most platforms but Scripts on Windows.
252 $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log 252 $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log
253 Failed building wheel for mercurial (?)
253 $ ./installenv/*/hg debuginstall || cat pip.log 254 $ ./installenv/*/hg debuginstall || cat pip.log
254 checking encoding (ascii)... 255 checking encoding (ascii)...
255 checking Python executable (*) (glob) 256 checking Python executable (*) (glob)
256 checking Python version (3.*) (glob) 257 checking Python version (3.*) (glob)
257 checking Python lib (*)... (glob) 258 checking Python lib (*)... (glob)