diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-08 05:31:44 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-08 05:31:44 +0000 |
commit | 12ffa4de8df01f0dc0533945d05ea8466d79c104 (patch) | |
tree | d027b3529fa27f9a61ca77cb91e0be0c2cd7c731 /Makefile.rules | |
parent | fb15e592d9d89cf2ad3949ecc601848c5d930f0f (diff) | |
download | external_llvm-12ffa4de8df01f0dc0533945d05ea8466d79c104.zip external_llvm-12ffa4de8df01f0dc0533945d05ea8466d79c104.tar.gz external_llvm-12ffa4de8df01f0dc0533945d05ea8466d79c104.tar.bz2 |
Add 'lit' support for llvm tests.
- This adds 'make check-lit' from the top-level Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81191 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 f697b2d..29adbd8 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1594,6 +1594,18 @@ check:: $(EchoCmd) No test directory ; \ fi +check-lit:: + $(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-lit ; \ + else \ + $(EchoCmd) No Makefile in test directory ; \ + fi ; \ + else \ + $(EchoCmd) No test directory ; \ + fi + ############################################################################### # UNITTESTS: Running the unittests test suite ############################################################################### |