summaryrefslogtreecommitdiff
path: root/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 348ac8f622..d81563373d 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -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) )