[llvm-commits] [llvm] r165081 - in /llvm/trunk/test: ExecutionEngine/MCJIT/lit.local.cfg lit.cfg

NAKAMURA Takumi geek4civic at gmail.com
Tue Oct 2 18:42:37 PDT 2012


Author: chapuni
Date: Tue Oct  2 20:42:37 2012
New Revision: 165081

URL: http://llvm.org/viewvc/llvm-project?rev=165081&view=rev
Log:
test/ExecutionEngine/MCJIT: MCJIT should work also on mingw.

FIXME: Also cygwin?

Modified:
    llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
    llvm/trunk/test/lit.cfg

Modified: llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg?rev=165081&r1=165080&r2=165081&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg (original)
+++ llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg Tue Oct  2 20:42:37 2012
@@ -16,5 +16,5 @@
 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

Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=165081&r1=165080&r2=165081&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Tue Oct  2 20:42:37 2012
@@ -142,7 +142,7 @@
 # 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) )
 





More information about the llvm-commits mailing list