From: NAKAMURA Takumi Date: Wed, 3 Oct 2012 01:42:37 +0000 (+0000) Subject: test/ExecutionEngine/MCJIT: MCJIT should work also on mingw. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=44a1fd48435a679d1ca73c884ff82307f463f16d;p=oota-llvm.git 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 --- diff --git a/test/ExecutionEngine/MCJIT/lit.local.cfg b/test/ExecutionEngine/MCJIT/lit.local.cfg index 985496ffde0..420d9551bda 100644 --- a/test/ExecutionEngine/MCJIT/lit.local.cfg +++ b/test/ExecutionEngine/MCJIT/lit.local.cfg @@ -16,5 +16,5 @@ else: if root.host_arch not in ['x86', 'x86_64', 'ARM', 'Mips']: config.unsupported = True -if root.host_os in ['Cygwin', 'MingW', 'Darwin']: +if root.host_os in ['Cygwin', 'Darwin']: config.unsupported = True diff --git a/test/lit.cfg b/test/lit.cfg index 348ac8f622c..d81563373d0 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) )