##// END OF EJS Templates
run-tests: restore quoting the python executable for running *.py tests...
Matt Harbison -
r40306:8783710b default
parent child Browse files
Show More
@@ -1219,7 +1219,8 b' class PythonTest(Test):'
1219
1219
1220 def _run(self, env):
1220 def _run(self, env):
1221 py3switch = self._py3warnings and b' -3' or b''
1221 py3switch = self._py3warnings and b' -3' or b''
1222 cmd = b'%s%s "%s"' % (PYTHON, py3switch, self.path)
1222 # Quote the python(3) executable for Windows
1223 cmd = b'"%s"%s "%s"' % (PYTHON, py3switch, self.path)
1223 vlog("# Running", cmd)
1224 vlog("# Running", cmd)
1224 normalizenewlines = os.name == 'nt'
1225 normalizenewlines = os.name == 'nt'
1225 result = self._runcommand(cmd, env,
1226 result = self._runcommand(cmd, env,
General Comments 0
You need to be logged in to leave comments. Login now