tests/run-tests.py
changeset 39589 4eb0f2452ad7
parent 39403 66b5ded95185
child 39645 13179f97f697
equal deleted inserted replaced
39588:f15a587d2dfc 39589:4eb0f2452ad7
  3116         return None
  3116         return None
  3117 
  3117 
  3118     def _checktools(self):
  3118     def _checktools(self):
  3119         """Ensure tools required to run tests are present."""
  3119         """Ensure tools required to run tests are present."""
  3120         for p in self.REQUIREDTOOLS:
  3120         for p in self.REQUIREDTOOLS:
  3121             if os.name == 'nt' and not p.endswith('.exe'):
  3121             if os.name == 'nt' and not p.endswith(b'.exe'):
  3122                 p += '.exe'
  3122                 p += b'.exe'
  3123             found = self._findprogram(p)
  3123             found = self._findprogram(p)
  3124             if found:
  3124             if found:
  3125                 vlog("# Found prerequisite", p, "at", found)
  3125                 vlog("# Found prerequisite", p, "at", found)
  3126             else:
  3126             else:
  3127                 print("WARNING: Did not find prerequisite tool: %s " %
  3127                 print("WARNING: Did not find prerequisite tool: %s " %