1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

Allow llx tests as well

llvm-svn: 6088
This commit is contained in:
Chris Lattner 2003-05-11 18:38:25 +00:00
parent cc0b1feeea
commit ddfc0adffb

View File

@ -7,11 +7,16 @@ include $(LEVEL)/test/Makefile.tests
# Only .ll tests here. C tests are run via Makefile.singlesrc above.
#
TESTS := $(wildcard *.ll)
LL_TESTS := $(wildcard *.ll)
LLX_TESTS := $(wildcard *.llx)
all:: $(addprefix Output/, $(filter-out %.c, $(TESTS:%.ll=%.ts)))
all:: $(addprefix Output/, $(LL_TESTS:%.ll=%.ts))
all:: $(addprefix Output/, $(LLX_TESTS:%.llx=%.llx.out))
Output/%.ts: Output/%.bc $(LLC) Output/.dir
@echo "======== Compiling $< =========="
$(LLC) -f $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )
Output/%.llx.out: %.llx Output/.dir $(LLC)
-$(TESTRUNR) $<