tests/run-tests.py
branchstable
changeset 45031 383005aa9cdc
parent 45013 bd0f122f3f51
child 45046 dd3050227a84
--- a/tests/run-tests.py	Mon Jun 29 16:36:53 2020 +0200
+++ b/tests/run-tests.py	Wed Jul 01 15:43:15 2020 +0200
@@ -3681,7 +3681,7 @@
         for p in osenvironb.get(b'PATH', dpb).split(sepb):
             name = os.path.join(p, program)
             if os.name == 'nt' or os.access(name, os.X_OK):
-                return name
+                return _bytes2sys(name)
         return None
 
     def _checktools(self):
@@ -3692,7 +3692,7 @@
             found = self._findprogram(p)
             p = p.decode("utf-8")
             if found:
-                vlog("# Found prerequisite", p, "at", _bytes2sys(found))
+                vlog("# Found prerequisite", p, "at", found)
             else:
                 print("WARNING: Did not find prerequisite tool: %s " % p)