##// END OF EJS Templates
run-tests: find python binary on Python 3 (issue6361)...
Axel Hecht -
r45573:383005aa stable
parent child Browse files
Show More
@@ -3681,7 +3681,7 b' class TestRunner(object):'
3681 for p in osenvironb.get(b'PATH', dpb).split(sepb):
3681 for p in osenvironb.get(b'PATH', dpb).split(sepb):
3682 name = os.path.join(p, program)
3682 name = os.path.join(p, program)
3683 if os.name == 'nt' or os.access(name, os.X_OK):
3683 if os.name == 'nt' or os.access(name, os.X_OK):
3684 return name
3684 return _bytes2sys(name)
3685 return None
3685 return None
3686
3686
3687 def _checktools(self):
3687 def _checktools(self):
@@ -3692,7 +3692,7 b' class TestRunner(object):'
3692 found = self._findprogram(p)
3692 found = self._findprogram(p)
3693 p = p.decode("utf-8")
3693 p = p.decode("utf-8")
3694 if found:
3694 if found:
3695 vlog("# Found prerequisite", p, "at", _bytes2sys(found))
3695 vlog("# Found prerequisite", p, "at", found)
3696 else:
3696 else:
3697 print("WARNING: Did not find prerequisite tool: %s " % p)
3697 print("WARNING: Did not find prerequisite tool: %s " % p)
3698
3698
General Comments 0
You need to be logged in to leave comments. Login now