lld test for configure & make

r210177 added lld Makefiles, r210245 added automatic build when the source is present.

This revision completes the set by adding the lld test and unittests to the check-all target.

llvm-svn: 210318
This commit is contained in:
Iain Sandoe 2014-06-06 09:06:25 +00:00
parent 460cf8891b
commit f419931fa3
1 changed files with 9 additions and 0 deletions

View File

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