[llvm-commits] CVS: llvm/test/Programs/Makefile
Chris Lattner
lattner at cs.uiuc.edu
Fri Jan 17 13:52:06 PST 2003
Changes in directory llvm/test/Programs:
Makefile updated: 1.5 -> 1.6
---
Log message:
Allow TESTs to add rules to top-level makefile
---
Diffs of the changes:
Index: llvm/test/Programs/Makefile
diff -u llvm/test/Programs/Makefile:1.5 llvm/test/Programs/Makefile:1.6
--- llvm/test/Programs/Makefile:1.5 Thu Jan 16 13:54:39 2003
+++ llvm/test/Programs/Makefile Fri Jan 17 13:50:36 2003
@@ -2,3 +2,14 @@
PARALLEL_DIRS = SingleSource MultiSource
include ${LEVEL}/test/Makefile.tests
+
+# Include all makefiles which define tests... These makefiles must define
+# test.<testname>.% given input from Output/%.llvm.bc
+#
+ifdef TEST
+TestMakefile := $(wildcard $(LEVEL)/test/Programs/Makefile.TEST.$(TEST))
+ifneq ($(TestMakefile),)
+-include $(TestMakefile)
+endif
+endif
+
More information about the llvm-commits
mailing list