Add getAsUnsignedInteger test case that checks that known bad values are rejected
[oota-llvm.git] / test / lit.cfg
index 348ac8f622c7b8605ebca6990f9991aee8473273..d81563373d07a9b9f7cc9f4b0f076947f8f73501 100644 (file)
@@ -142,7 +142,7 @@ if config.test_exec_root is None:
 # Provide a target triple for mcjit tests
 mcjit_triple = config.target_triple
 # Force ELF format on Windows
-if 'win32' in mcjit_triple.lower():
+if re.search(r'mingw32|win32', mcjit_triple):
   mcjit_triple += "-elf"
 config.substitutions.append( ('%mcjit_triple', mcjit_triple) )