aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorJyotsna Verma <jverma@codeaurora.org>2013-04-05 14:26:16 +0000
committerJyotsna Verma <jverma@codeaurora.org>2013-04-05 14:26:16 +0000
commit332edeb1dc9e6aed5229091bb56a914e78f177c2 (patch)
tree69d1344d9e54cdd4da44e602659ce15c374f45f9 /unittests
parent03f018a71348893d567d5062987dfbc52b8560e3 (diff)
Enable JIT/MCJIT unit tests for targets with JIT support.
Change unittests/ExecutionEngine/Makefile to include Makefile.config before TARGET_HAS_JIT flag is checked. Fixes bug: http://llvm.org/bugs/show_bug.cgi?id=15669 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ExecutionEngine/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/unittests/ExecutionEngine/Makefile b/unittests/ExecutionEngine/Makefile
index c779a6a47c..38e667ff98 100644
--- a/unittests/ExecutionEngine/Makefile
+++ b/unittests/ExecutionEngine/Makefile
@@ -11,9 +11,10 @@ LEVEL = ../..
TESTNAME = ExecutionEngine
LINK_COMPONENTS :=interpreter
+include $(LEVEL)/Makefile.config
+
ifeq ($(TARGET_HAS_JIT),1)
- PARALLEL_DIRS = JIT MCJIT
+ PARALLEL_DIRS = JIT MCJIT
endif
-include $(LEVEL)/Makefile.config
include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest