test/ExecutionEngine/MCJIT: MCJIT should work also on mingw.

FIXME: Also cygwin?
llvm-svn: 165081
This commit is contained in:
NAKAMURA Takumi 2012-10-03 01:42:37 +00:00
parent 5e8534efe7
commit 0829525c55
2 changed files with 2 additions and 2 deletions

View File

@ -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

View 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) )