mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-01 07:30:33 +00:00
ddd5b417c6
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5642 91177308-0d34-0410-b5e6-96231b3b80d8
30 lines
707 B
Makefile
30 lines
707 B
Makefile
# test/Regression/Jello/Makefile
|
|
#
|
|
# This directory contains regression tests for the LLVM x86 JIT
|
|
#
|
|
LEVEL = ../../..
|
|
include $(LEVEL)/test/Makefile.tests
|
|
|
|
TESTS := $(wildcard *.ll)
|
|
FTESTS := $(wildcard *.llx) # Freeform tests
|
|
|
|
all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
|
|
|
|
LLI_FLAGS = -force-interpreter=false
|
|
|
|
ifdef DISABLE_FP_ELIM
|
|
LLI_FLAGS += -disable-fp-elim
|
|
endif
|
|
|
|
Output/%.out: Output/%.bc $(LLI)
|
|
@echo "======== Running $< ==================="
|
|
$(VERB) $(LLI) $(LLI_FLAGS) -stats $< > $@ 2>&1 || \
|
|
( cat $@; rm -f $@; $(FAILURE) $@ )
|
|
|
|
|
|
all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
|
|
|
|
Output/%.llx.out: %.llx Output/.dir $(LJELLO)
|
|
-$(TESTRUNR) $<
|
|
|