forked from OSchip/llvm-project
Disable JIT/MCJIT tests in unittests/ExecutionEngine for the targets that don't support JIT.
llvm-svn: 178221
This commit is contained in:
parent
035b4825ce
commit
8542abd762
|
@ -6,5 +6,9 @@ add_llvm_unittest(ExecutionEngineTests
|
|||
ExecutionEngineTest.cpp
|
||||
)
|
||||
|
||||
add_subdirectory(JIT)
|
||||
add_subdirectory(MCJIT)
|
||||
# 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()
|
||||
|
|
|
@ -10,7 +10,10 @@
|
|||
LEVEL = ../..
|
||||
TESTNAME = ExecutionEngine
|
||||
LINK_COMPONENTS :=interpreter
|
||||
PARALLEL_DIRS = JIT MCJIT
|
||||
|
||||
ifeq ($(TARGET_HAS_JIT),1)
|
||||
PARALLEL_DIRS = JIT MCJIT
|
||||
endif
|
||||
|
||||
include $(LEVEL)/Makefile.config
|
||||
include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
|
||||
|
|
Loading…
Reference in New Issue