Add support for make TEST=foo
authorChris Lattner <sabre@nondot.org>
Thu, 16 Jan 2003 20:26:29 +0000 (20:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 16 Jan 2003 20:26:29 +0000 (20:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5333 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile.tests

index 944df531486e96db531bf9e589a92bf6ebb399ea..fd88d8eabec1365b311b707b7ed63314a3aba862 100644 (file)
@@ -5,6 +5,14 @@
 
 ## NOTE: This is preliminary and will change in the future
 
+# If the user specified a TEST= option on the command line, we do not want to do
+# the default testing type.  Instead, we change the default target to be the
+# test:: target.
+#
+ifdef TEST
+test::
+endif
+
 include ${LEVEL}/Makefile.common
 
 # Specify ENABLE_STATS on the command line to enable -stats output from gccas