diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-20 06:17:21 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-20 06:17:21 +0000 |
commit | 5b6816d9f3b0fc2e47a458e07d63586aaaf8718f (patch) | |
tree | 2aa5bf259ab6d224dd4f7953704dfe68cb013e54 /Makefile.rules | |
parent | 681869cb3d72675bb06147c36d9fb31fe8f1ad2e (diff) | |
download | external_llvm-5b6816d9f3b0fc2e47a458e07d63586aaaf8718f.zip external_llvm-5b6816d9f3b0fc2e47a458e07d63586aaaf8718f.tar.gz external_llvm-5b6816d9f3b0fc2e47a458e07d63586aaaf8718f.tar.bz2 |
Add 'make check-all', which runs the LLVM tests along with the clang tests if
its in the standard location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 7999c7a..6cc4bd3 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1613,6 +1613,18 @@ check-lit:: $(EchoCmd) No test directory ; \ fi +check-all:: + $(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \ + if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \ + $(EchoCmd) Running test suite ; \ + $(MAKE) -C $(PROJ_OBJ_ROOT)/test check-local-all ; \ + else \ + $(EchoCmd) No Makefile in test directory ; \ + fi ; \ + else \ + $(EchoCmd) No test directory ; \ + fi + ############################################################################### # UNITTESTS: Running the unittests test suite ############################################################################### |