[llvm-commits] CVS: llvm/test/Makefile
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 6 21:05:51 PST 2004
Changes in directory llvm/test:
Makefile updated: 1.58 -> 1.59
---
Log message:
Add missing file header
Add some comments
Switch to use 'find' to do the clean instead of globbing
---
Diffs of the changes: (+15 -7)
Index: llvm/test/Makefile
diff -u llvm/test/Makefile:1.58 llvm/test/Makefile:1.59
--- llvm/test/Makefile:1.58 Sat Nov 6 22:59:52 2004
+++ llvm/test/Makefile Sat Nov 6 23:05:37 2004
@@ -1,3 +1,12 @@
+#===- test/Makefile ----------------------------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by the LLVM research group and is distributed under
+# the University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
LEVEL = ..
DIRS =
@@ -7,16 +16,12 @@
#
all:: qmtest
-#
# Include other test rules
-#
include Makefile.tests
-#
# New QMTest functionality:
# The test suite is being transitioned over to QMTest. Eventually, it
# will use QMTest by default.
-#
# QMTest option specifying the location of the QMTest database.
QMDB= -D $(LLVM_SRC_ROOT)/test
@@ -110,6 +115,10 @@
$(RM) -f $(LLVM_SRC_ROOT)/test/results.qmr \
$(LLVM_OBJ_ROOT)/test/results.qmr
+#===------------------------------------------------------------------------===#
+# DejaGNU testing support
+#===------------------------------------------------------------------------===#
+
EXPECT = expect
RUNTEST = runtest
@@ -117,9 +126,7 @@
$(RUNTEST)
dejagnu-clean:
- cd $(LLVM_OBJ_ROOT)/test/
- $(RM) -rf Regression/*/Output
- $(RM) -rf Regression/*/*/Output
+ $(RM) -rf `find $(LLVM_OBJ_ROOT)/test/Regression -name Output -type d -print`
site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
@echo 'Making a new site.exp file...'
@@ -138,3 +145,4 @@
@-rm -f site.bak
@test ! -f site.exp || mv site.exp site.bak
@mv site.tmp site.exp
+
More information about the llvm-commits
mailing list