summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-10-05 14:10:29 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-10-05 14:10:29 +0000
commitb894f96de4f26dd738e3bf706ffe7cf0eda60714 (patch)
tree37d9648f50fe32f7eeb4e7406087dff7ee62917c
parent55587cffec6f0fc1b5577a0e23baf08ea9d91340 (diff)
downloadllvm-b894f96de4f26dd738e3bf706ffe7cf0eda60714.tar.gz
llvm-b894f96de4f26dd738e3bf706ffe7cf0eda60714.tar.bz2
llvm-b894f96de4f26dd738e3bf706ffe7cf0eda60714.tar.xz
Enable llvm/test/ExecutionEngine/MCJIT also for cygwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165313 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/ExecutionEngine/MCJIT/lit.local.cfg2
-rw-r--r--test/lit.cfg2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ExecutionEngine/MCJIT/lit.local.cfg b/test/ExecutionEngine/MCJIT/lit.local.cfg
index 420d9551bd..af3d13f746 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', 'Darwin']:
+if root.host_os in ['Darwin']:
config.unsupported = True
diff --git a/test/lit.cfg b/test/lit.cfg
index d81563373d..dc37317ba9 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 re.search(r'mingw32|win32', mcjit_triple):
+if re.search(r'cygwin|mingw32|win32', mcjit_triple):
mcjit_triple += "-elf"
config.substitutions.append( ('%mcjit_triple', mcjit_triple) )