summaryrefslogtreecommitdiff
path: root/test/Makefile.tests
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-16 20:26:29 +0000
committerChris Lattner <sabre@nondot.org>2003-01-16 20:26:29 +0000
commit995663e58d67e1ca9ada579a632407dfcab5ffd7 (patch)
tree6d1b0074c8f63723d9732e7e36a0a79eac20a366 /test/Makefile.tests
parentdc95aded43d0a72a6cd7b760bd81ccd348788e31 (diff)
downloadllvm-995663e58d67e1ca9ada579a632407dfcab5ffd7.tar.gz
llvm-995663e58d67e1ca9ada579a632407dfcab5ffd7.tar.bz2
llvm-995663e58d67e1ca9ada579a632407dfcab5ffd7.tar.xz
Add support for make TEST=foo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile.tests')
-rw-r--r--test/Makefile.tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests
index 944df53148..fd88d8eabe 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -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