Enable llvm/test/ExecutionEngine/MCJIT also for cygwin.

llvm-svn: 165313
This commit is contained in:
NAKAMURA Takumi 2012-10-05 14:10:29 +00:00
parent 62159aa984
commit da9a939cdb
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']: if root.host_arch not in ['x86', 'x86_64', 'ARM', 'Mips']:
config.unsupported = True config.unsupported = True
if root.host_os in ['Cygwin', 'Darwin']: if root.host_os in ['Darwin']:
config.unsupported = True config.unsupported = True

View File

@ -142,7 +142,7 @@ if config.test_exec_root is None:
# Provide a target triple for mcjit tests # Provide a target triple for mcjit tests
mcjit_triple = config.target_triple mcjit_triple = config.target_triple
# Force ELF format on Windows # Force ELF format on Windows
if re.search(r'mingw32|win32', mcjit_triple): if re.search(r'cygwin|mingw32|win32', mcjit_triple):
mcjit_triple += "-elf" mcjit_triple += "-elf"
config.substitutions.append( ('%mcjit_triple', mcjit_triple) ) config.substitutions.append( ('%mcjit_triple', mcjit_triple) )