[llvm-commits] CVS: llvm/test/Regression/LLC/Makefile

Chris Lattner lattner at cs.uiuc.edu
Sun May 11 13:39:01 PDT 2003


Changes in directory llvm/test/Regression/LLC:

Makefile updated: 1.5 -> 1.6

---
Log message:

Allow llx tests as well


---
Diffs of the changes:

Index: llvm/test/Regression/LLC/Makefile
diff -u llvm/test/Regression/LLC/Makefile:1.5 llvm/test/Regression/LLC/Makefile:1.6
--- llvm/test/Regression/LLC/Makefile:1.5	Thu Jan 23 10:51:24 2003
+++ llvm/test/Regression/LLC/Makefile	Sun May 11 13:38:25 2003
@@ -7,11 +7,16 @@
 
 # Only .ll tests here.  C tests are run via Makefile.singlesrc above.
 # 
-TESTS := $(wildcard *.ll)
+LL_TESTS := $(wildcard *.ll)
+LLX_TESTS := $(wildcard *.llx)
 
-all:: $(addprefix Output/, $(filter-out %.c, $(TESTS:%.ll=%.ts)))
+all:: $(addprefix Output/, $(LL_TESTS:%.ll=%.ts)) 
+all:: $(addprefix Output/, $(LLX_TESTS:%.llx=%.llx.out))
 
 Output/%.ts: Output/%.bc $(LLC) Output/.dir
 	@echo "======== Compiling $< =========="
 	$(LLC) -f $< -o $@ || \
                  ( rm -f $@; $(FAILURE) $@ )
+
+Output/%.llx.out: %.llx Output/.dir $(LLC)
+	-$(TESTRUNR) $<





More information about the llvm-commits mailing list