|
@@ -64,7 +64,10 @@ class TestingConfig:
|
|
|
if sys.platform == 'win32':
|
|
|
required_tools = [
|
|
|
'cmp.exe', 'grep.exe', 'sed.exe', 'diff.exe', 'echo.exe', 'ls.exe']
|
|
|
- path = _find_git_windows_unix_tools(required_tools)
|
|
|
+ path = lit.util.whichTools(required_tools, all_path)
|
|
|
+ if path is None:
|
|
|
+ path = _find_git_windows_unix_tools(required_tools)
|
|
|
+
|
|
|
all_path = f"{path};{all_path}"
|
|
|
environment = {
|
|
|
'PATH' : all_path,
|