mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Allow tests that use custom commands to run
llvm-svn: 2888
This commit is contained in:
parent
68eab072e1
commit
1124fc513b
@ -7,6 +7,7 @@ LEVEL = ../../..
|
||||
include $(LEVEL)/test/Makefile.tests
|
||||
|
||||
TESTS := $(wildcard *.ll)
|
||||
FTESTS := $(wildcard *.llx) # Freeform tests
|
||||
|
||||
all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
|
||||
|
||||
@ -14,3 +15,9 @@ Output/%.tbc: %.ll $(LAS) Output/.dir
|
||||
@echo "======== Assembling $<"
|
||||
$(LAS) -d -f $< -o $@ > /dev/null 2>&1 || \
|
||||
( rm -f $@; $(FAILURE) $@ )
|
||||
|
||||
all:: $(addprefix Output/, $(FTESTS:%.llx=%.ll.out))
|
||||
|
||||
Output/%.ll.out: %.llx Output/.dir $(LAS)
|
||||
-$(TESTRUNR) $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user