From d276b15c520db6f105c976f8be9d1348d8a57041 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210318 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/Makefile b/test/Makefile index dc99fe1a2f2..c78c2561c34 100644 --- a/test/Makefile +++ b/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