comparison tests/test-install.t @ 39707:5abc47d4ca6b

tests: quote PYTHON usage Python3 defaults to installing under "Program Files".
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 18 Sep 2018 23:47:21 -0400
parents 94a1ff16f362
children ef6cab7930b3
comparison
equal deleted inserted replaced
39706:030d558c6456 39707:5abc47d4ca6b
203 > print('Not tracked:') 203 > print('Not tracked:')
204 > for f in sorted(set(installed) - set(tracked)): 204 > for f in sorted(set(installed) - set(tracked)):
205 > print(' %s' % f) 205 > print(' %s' % f)
206 > EOF 206 > EOF
207 207
208 $ ( testrepohgenv; $PYTHON wixxml.py help ) 208 $ ( testrepohgenv; "$PYTHON" wixxml.py help )
209 Not installed: 209 Not installed:
210 help/common.txt 210 help/common.txt
211 help/hg-ssh.8.txt 211 help/hg-ssh.8.txt
212 help/hg.1.txt 212 help/hg.1.txt
213 help/hgignore.5.txt 213 help/hgignore.5.txt
214 help/hgrc.5.txt 214 help/hgrc.5.txt
215 Not tracked: 215 Not tracked:
216 216
217 $ ( testrepohgenv; $PYTHON wixxml.py templates ) 217 $ ( testrepohgenv; "$PYTHON" wixxml.py templates )
218 Not installed: 218 Not installed:
219 Not tracked: 219 Not tracked:
220 220
221 #endif 221 #endif
222 222
229 $ cd $TESTTMP 229 $ cd $TESTTMP
230 Note: --no-site-packages is deprecated, but some places have an 230 Note: --no-site-packages is deprecated, but some places have an
231 ancient virtualenv from their linux distro or similar and it's not yet 231 ancient virtualenv from their linux distro or similar and it's not yet
232 the default for them. 232 the default for them.
233 $ unset PYTHONPATH 233 $ unset PYTHONPATH
234 $ $PYTHON -m virtualenv --no-site-packages --never-download installenv >> pip.log 234 $ "$PYTHON" -m virtualenv --no-site-packages --never-download installenv >> pip.log
235 Note: we use this weird path to run pip and hg to avoid platform differences, 235 Note: we use this weird path to run pip and hg to avoid platform differences,
236 since it's bin on most platforms but Scripts on Windows. 236 since it's bin on most platforms but Scripts on Windows.
237 $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log 237 $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log
238 $ ./installenv/*/hg debuginstall || cat pip.log 238 $ ./installenv/*/hg debuginstall || cat pip.log
239 checking encoding (ascii)... 239 checking encoding (ascii)...