diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index f6f65646438e..f4b8df333254 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -443,7 +443,7 @@ if 'darwin' == sys.platform: config.available_features.add('fma3') sysctl_cmd.wait() -if platform.system() in ['Windows']: +if platform.system() in ['Windows'] and re.match(r'.*-win32$', config.target_triple): # For tests that require Windows to run. config.available_features.add('system-windows')