[llvm] r178221 - Disable JIT/MCJIT tests in unittests/ExecutionEngine for the targets that don't support JIT.

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Wed Apr 3 11:49:23 PDT 2013


>--- llvm/trunk/unittests/ExecutionEngine/Makefile (original)
>+++ llvm/trunk/unittests/ExecutionEngine/Makefile Wed Mar 27 22:38:29 2013
>@@ -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

It seems this disabled JIT/MCJIT unit tests on *all* platforms
when using make: the TARGET_HAS_JIT macro is defined by
the $(LEVEL)/Makefile.config fragment, which is included
*after* the macro is attempted to be used, so the ifeq
will always evaluate to false ...


Bye,
Ulrich




More information about the llvm-commits mailing list