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 | 70a3b77df8375377572498037a99a644656b8f05 (patch) | |
tree | d027b3529fa27f9a61ca77cb91e0be0c2cd7c731 /Makefile.rules | |
parent | be7ada718139b8c840a38ba34c4af492b6a05f9f (diff) | |
download | llvm-70a3b77df8375377572498037a99a644656b8f05.tar.gz llvm-70a3b77df8375377572498037a99a644656b8f05.tar.bz2 llvm-70a3b77df8375377572498037a99a644656b8f05.tar.xz |
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 f697b2d641..29adbd8f6a 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 ############################################################################### |