diff -r cd2ee4db8f95 -r 25fce08b36c8 tests/run-tests.py --- a/tests/run-tests.py Tue Sep 19 00:07:51 2017 -0400 +++ b/tests/run-tests.py Tue Sep 19 00:08:12 2017 -0400 @@ -2104,7 +2104,7 @@ opts = '' withhg = self._runner.options.with_hg if withhg: - opts += ' --with-hg=%s ' % shellquote(withhg) + opts += ' --with-hg=%s ' % shellquote(_strpath(withhg)) rtc = '%s %s %s %s' % (sys.executable, sys.argv[0], opts, test) sub = subprocess.Popen(bisectcmd + ['--command', rtc],