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 | 3418579046f3214f4135a1334cbde576f7a86420 (patch) | |
tree | 2aa5bf259ab6d224dd4f7953704dfe68cb013e54 /Makefile.rules | |
parent | 848454aedee3009026433cdc6f7298edf40e45a1 (diff) | |
download | llvm-3418579046f3214f4135a1334cbde576f7a86420.tar.gz llvm-3418579046f3214f4135a1334cbde576f7a86420.tar.bz2 llvm-3418579046f3214f4135a1334cbde576f7a86420.tar.xz |
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 7999c7a3ca..6cc4bd3cf3 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 ############################################################################### |