Fix Python tests on MS-Windows
commit57e1205767c012d4fcea87d99db987bc7c0d5585
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 Aug 2015 14:39:47 +0000 (29 17:39 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 Aug 2015 14:39:47 +0000 (29 17:39 +0300)
tree8864d6a167aa7b975914f4e08e10ffcc29fe2f4e
parent5e5ee391d958980148227083120f176754e0edca
Fix Python tests on MS-Windows

* test/automated/python-tests.el
(python-shell-calculate-command-1): Run python-shell-interpreter
through shell-quote-argument before comparing with what
python-shell-calculate-command returns.
(python-shell-calculate-pythonpath-1)
(python-shell-calculate-pythonpath-2)
(python-shell-calculate-process-environment-2): Use path-separator
instead of a literal ':'.
(python-shell-calculate-exec-path-2)
(python-shell-calculate-exec-path-3)
(python-shell-calculate-exec-path-4)
(python-shell-with-environment-1)
(python-shell-with-environment-2): Run "/env/bin" through
expand-file-name before comparing with exec-path.  (Bug#21375)
test/automated/python-tests.el