Allow tests that use custom commands to run
authorChris Lattner <sabre@nondot.org>
Sun, 14 Jul 2002 22:32:59 +0000 (22:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Jul 2002 22:32:59 +0000 (22:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2888 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/Makefile

index 2e571b299681dbcdca16946a05df22b79ed39ca8..44bc441f589fcb2b281a52f4fbf1157b81450c31 100644 (file)
@@ -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) $<
+