changeset 28645:c226e9b69bac

run-tests: use canonpath for with-python3
author timeless <timeless@mozdev.org>
date Mon, 28 Mar 2016 04:02:07 +0000
parents 2e50eb6304bd
children f452c1cf7a8f
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,