[llvm-commits] CVS: llvm/test/Regression/CBackend/Makefile
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Jun 23 15:00:03 PDT 2003
Changes in directory llvm/test/Regression/CBackend:
Makefile updated: 1.7 -> 1.8
---
Log message:
Allow .llx testcases (i.e., those that contain explicit RUN: stmts.)
---
Diffs of the changes:
Index: llvm/test/Regression/CBackend/Makefile
diff -u llvm/test/Regression/CBackend/Makefile:1.7 llvm/test/Regression/CBackend/Makefile:1.8
--- llvm/test/Regression/CBackend/Makefile:1.7 Mon May 12 10:33:52 2003
+++ llvm/test/Regression/CBackend/Makefile Mon Jun 23 14:58:50 2003
@@ -10,9 +10,9 @@
.PRECIOUS: Output/%.c
TESTS := $(wildcard *.ll)
+FTESTS := $(wildcard *.llx) # Freeform tests
-all:: $(addprefix Output/, $(TESTS:%.ll=%.to))
-
+all:: $(addprefix Output/, $(TESTS:%.ll=%.to)) $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
Output/%.to: Output/%.c
$(CC) -c -Werror $< -o $@ || \
@@ -21,3 +21,7 @@
Output/%.c: %.ll Output/.dir $(LAS) $(LDIS)
$(LAS) < $< | $(LDIS) -c > $@ || \
(rm -f $@; $(FAILURE) $@ )
+
+Output/%.llx.out: %.llx Output/.dir $(LAS) $(LDIS)
+ -$(TESTRUNR) $<
+
More information about the llvm-commits
mailing list