1 # test/Regression/Jello/Makefile
3 # This directory contains regression tests for the LLVM x86 JIT
6 include $(LEVEL)/test/Makefile.tests
8 TESTS := $(wildcard *.ll)
9 FTESTS := $(wildcard *.llx) # Freeform tests
11 all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
13 LLI_FLAGS = -force-interpreter=false
16 LLI_FLAGS += -disable-fp-elim
19 Output/%.out: Output/%.bc $(LLI)
20 @echo "======== Running $< ==================="
21 $(VERB) $(LLI) $(LLI_FLAGS) -stats $< > $@ 2>&1 || \
22 ( cat $@; rm -f $@; $(FAILURE) $@ )
25 all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
27 Output/%.llx.out: %.llx Output/.dir $(LJELLO)