2002-10-26 01:01:51 +02:00
|
|
|
# test/Regression/Jello/Makefile
|
|
|
|
#
|
2002-12-24 00:51:19 +01:00
|
|
|
# This directory contains regression tests for the LLVM x86 JIT
|
2002-10-26 01:01:51 +02:00
|
|
|
#
|
|
|
|
LEVEL = ../../..
|
|
|
|
include $(LEVEL)/test/Makefile.tests
|
|
|
|
|
|
|
|
TESTS := $(wildcard *.ll)
|
|
|
|
FTESTS := $(wildcard *.llx) # Freeform tests
|
|
|
|
|
|
|
|
all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
|
|
|
|
|
2002-12-28 21:01:23 +01:00
|
|
|
LLI_FLAGS = -force-interpreter=false
|
|
|
|
|
|
|
|
ifdef DISABLE_FP_ELIM
|
2003-02-26 21:00:41 +01:00
|
|
|
LLI_FLAGS += -disable-fp-elim
|
2002-12-28 21:01:23 +01:00
|
|
|
endif
|
|
|
|
|
2002-12-24 00:51:19 +01:00
|
|
|
Output/%.out: Output/%.bc $(LLI)
|
2002-10-26 01:01:51 +02:00
|
|
|
@echo "======== Running $< ==================="
|
2002-12-28 21:01:23 +01:00
|
|
|
$(VERB) $(LLI) $(LLI_FLAGS) -stats $< > $@ 2>&1 || \
|
2002-10-26 01:01:51 +02:00
|
|
|
( cat $@; rm -f $@; $(FAILURE) $@ )
|
|
|
|
|
|
|
|
|
|
|
|
all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
|
|
|
|
|
2002-11-02 02:40:24 +01:00
|
|
|
Output/%.llx.out: %.llx Output/.dir $(LJELLO)
|
2002-10-26 01:01:51 +02:00
|
|
|
-$(TESTRUNR) $<
|
|
|
|
|