include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
+FTESTS := $(wildcard *.llx) # Freeform tests
all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
@echo "======== Assembling $<"
$(LAS) -d -f $< -o $@ > /dev/null 2>&1 || \
( rm -f $@; $(FAILURE) $@ )
@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) $<
+