Disable JIT/MCJIT tests in unittests/ExecutionEngine for the targets that don't support JIT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178221 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jyotsna Verma 2013-03-28 03:38:29 +00:00
parent d957f957ee
commit 9f41d22467
2 changed files with 10 additions and 3 deletions

View File

@ -6,5 +6,9 @@ add_llvm_unittest(ExecutionEngineTests
ExecutionEngineTest.cpp
)
# Include JIT/MCJIT tests only if native arch is a JIT target.
list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" have_jit)
if (NOT have_jit EQUAL -1 )
add_subdirectory(JIT)
add_subdirectory(MCJIT)
endif()

View File

@ -10,7 +10,10 @@
LEVEL = ../..
TESTNAME = ExecutionEngine
LINK_COMPONENTS :=interpreter
ifeq ($(TARGET_HAS_JIT),1)
PARALLEL_DIRS = JIT MCJIT
endif
include $(LEVEL)/Makefile.config
include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest