run-tests: use canonpath for with-python3
authortimeless <timeless@mozdev.org>
Mon, 28 Mar 2016 04:02:07 +0000
changeset 28645 c226e9b69bac
parent 28644 2e50eb6304bd
child 28646 f452c1cf7a8f
run-tests: use canonpath for with-python3
tests/run-tests.py
--- a/tests/run-tests.py	Mon Mar 28 04:01:21 2016 +0000
+++ b/tests/run-tests.py	Mon Mar 28 04:02:07 2016 +0000
@@ -368,6 +368,7 @@
             parser.error('--with-python3 cannot be used when executing with '
                          'Python 3')
 
+        options.with_python3 = canonpath(options.with_python3)
         # Verify Python3 executable is acceptable.
         proc = subprocess.Popen([options.with_python3, b'--version'],
                                 stdout=subprocess.PIPE,