Teach the LLVM test makefile to run the extra Clang tools' test suites

as part of check-all.

llvm-svn: 161610
This commit is contained in:
Chandler Carruth 2012-08-09 20:26:41 +00:00
parent 60a232c82d
commit 4cbe653ace
1 changed files with 9 additions and 0 deletions

View File

@ -62,6 +62,15 @@ clang-site-cfg: FORCE
$(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/test lit.site.cfg Unit/lit.site.cfg
extra-site-cfgs:: clang-site-cfg
endif
ifeq ($(shell test -f $(PROJ_OBJ_DIR)/../tools/clang/tools/extra/Makefile && echo OK), OK)
LIT_ALL_TESTSUITES += $(PROJ_OBJ_DIR)/../tools/clang/tools/extra/test
# Force creation of Clang Tools' lit.site.cfg.
clang-tools-site-cfg: FORCE
$(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/tools/extra/test lit.site.cfg
extra-site-cfgs:: clang-tools-site-cfg
endif
endif
endif