summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2009-04-09 14:57:00 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2009-04-09 14:57:00 +0000
commit685cb17c9827f6e1c22dbc9d976b572045a0b6ed (patch)
treeb40ae5597917e0bb2a2ca2262ecdee4343be0ba6 /Makefile.rules
parente206b1d142606e1f87e1b1c89069c5ddd39237f8 (diff)
downloadllvm-685cb17c9827f6e1c22dbc9d976b572045a0b6ed.tar.gz
llvm-685cb17c9827f6e1c22dbc9d976b572045a0b6ed.tar.bz2
llvm-685cb17c9827f6e1c22dbc9d976b572045a0b6ed.tar.xz
Make sure to rebuild dependencies for the `check' and `unittests' targets so
we're not testing out-of-date code. This also makes "make check" and "make unittests" work out-of-the box right after the configure step, without requiring the user to run "make tools-only" or "make libs-only". Tested on Linux/x86_64 and Darwin/x86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index e6c266af7f..c0fbf13878 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1547,7 +1547,7 @@ endif
# CHECK: Running the test suite
###############################################################################
-check::
+check:: tools-only
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \
if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \
$(EchoCmd) Running test suite ; \
@@ -1564,7 +1564,7 @@ check::
# UNITTESTS: Running the unittests test suite
###############################################################################
-unittests::
+unittests:: libs-only
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/unittests" ; then \
if test -f "$(PROJ_OBJ_ROOT)/unittests/Makefile" ; then \
$(EchoCmd) Running unittests test suite ; \