Skip to content

Commit

Permalink
test/ExecutionEngine/MCJIT: MCJIT should work also on mingw.
Browse files Browse the repository at this point in the history
FIXME: Also cygwin?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165081 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chapuni committed Oct 3, 2012
1 parent de2fae4 commit 44a1fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/ExecutionEngine/MCJIT/lit.local.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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) )

Expand Down

0 comments on commit 44a1fd4

Please sign in to comment.