diff --git a/test/lit.cfg b/test/lit.cfg index 2810920db7c..3e4c537f99c 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -27,10 +27,6 @@ import lit.llvm lit.llvm.initialize(lit_config, config) lit.llvm.llvm_config.with_system_environment("COMPILER_PATH") -if platform.system() == 'Windows': - lit_config.note('We do not support Windows, but hey, congratulations on porting to Windows!') - raise SystemExit - # Configuration file for the 'lit' test runner. # name: The name of this test suite. @@ -219,7 +215,7 @@ def getClangBuiltinIncludeDir(clang): dir = cmd.stdout.read().strip() if sys.platform in ['win32'] and execute_external: # Don't pass dosish path separator to msys bash.exe. - dir = dir.replace('\\', '/') + dir = dir.replace(b'\\', b'/') # Ensure the result is an ascii string, across Python2.5+ - Python3. return str(dir.decode('ascii'))