[Bitcode] Fix accidental syntax errors in compatibility tests
[oota-llvm.git] / test / lit.cfg
index 82799589ab4994f3c8b416e2c5b54264bff6647d..f4b8df33325408f72c6cb4b37015d8a381287bda 100644 (file)
@@ -443,6 +443,10 @@ if 'darwin' == sys.platform:
         config.available_features.add('fma3')
     sysctl_cmd.wait()
 
+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')
+
 # .debug_frame is not emitted for targeting Windows x64.
 if not re.match(r'^x86_64.*-(mingw32|windows-gnu|win32)', config.target_triple):
     config.available_features.add('debug_frame')