aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Assembler/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Assembler/Makefile b/test/Assembler/Makefile
index 2e571b2996..44bc441f58 100644
--- a/test/Assembler/Makefile
+++ b/test/Assembler/Makefile
@@ -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) $<
+