From f419931fa3a120e23ac0c1f536ab6209f70e7d9d Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 6 Jun 2014 09:06:25 +0000 Subject: [PATCH] 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 --- llvm/test/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/llvm/test/Makefile b/llvm/test/Makefile index dc99fe1a2f23..c78c2561c34b 100644 --- a/llvm/test/Makefile +++ b/llvm/test/Makefile @@ -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