aboutsummaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-10-03 01:42:37 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-10-03 01:42:37 +0000
commit44a1fd48435a679d1ca73c884ff82307f463f16d (patch)
treeccef0d9c0a7bc3def338570ce9937ba0b57851dd /test/lit.cfg
parentde2fae4c7bfaedb95705b272015592895e05fd9c (diff)
downloadexternal_llvm-44a1fd48435a679d1ca73c884ff82307f463f16d.zip
external_llvm-44a1fd48435a679d1ca73c884ff82307f463f16d.tar.gz
external_llvm-44a1fd48435a679d1ca73c884ff82307f463f16d.tar.bz2
test/ExecutionEngine/MCJIT: MCJIT should work also on mingw.
FIXME: Also cygwin? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165081 91177308-0d34-0410-b5e6-96231b3b80d8
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 348ac8f..d815633 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) )