aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-07 05:05:37 +0000
committerChris Lattner <sabre@nondot.org>2004-11-07 05:05:37 +0000
commit12d632c8d0373ff469d1c56643796b817c68cba6 (patch)
treeba92bc6ecb5f482e28a426cb8efe76e4f323e538
parent030a552398eb8892d508fc5113c4042c77d6be41 (diff)
Add missing file header
Add some comments Switch to use 'find' to do the clean instead of globbing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17559 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/test/Makefile b/test/Makefile
index be621518f2..7642b64aea 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -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 @@ DIRS =
#
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 @@ qmtest-clean:
$(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 @@ check-dejagnu: site.exp
$(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 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
@-rm -f site.bak
@test ! -f site.exp || mv site.exp site.bak
@mv site.tmp site.exp
+