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