diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2009-04-09 14:57:00 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2009-04-09 14:57:00 +0000 |
commit | a04ede8d5b26ecb115966d0b4eabcc3a2461981f (patch) | |
tree | 5f1ea51b253d4f68b786a5c830073855b1bb8d6b | |
parent | 8cdc351ed31d424d3859f1e4b267be260f715470 (diff) | |
download | bcm5719-llvm-a04ede8d5b26ecb115966d0b4eabcc3a2461981f.tar.gz bcm5719-llvm-a04ede8d5b26ecb115966d0b4eabcc3a2461981f.zip |
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.
llvm-svn: 68708
-rw-r--r-- | llvm/Makefile.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index e6c266af7f4..c0fbf13878e 100644 --- a/llvm/Makefile.rules +++ b/llvm/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 ; \ |