summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorIain Sandoe <iain@codesourcery.com>2014-06-06 09:06:25 +0000
committerIain Sandoe <iain@codesourcery.com>2014-06-06 09:06:25 +0000
commitd276b15c520db6f105c976f8be9d1348d8a57041 (patch)
treeea4fb18b4e407ba7307d9d3da7fa7cd1938f9374 /test/Makefile
parent3ad10cfab874dcb1eac8a7d7f54447c2c8a3b862 (diff)
downloadllvm-d276b15c520db6f105c976f8be9d1348d8a57041.tar.gz
llvm-d276b15c520db6f105c976f8be9d1348d8a57041.tar.bz2
llvm-d276b15c520db6f105c976f8be9d1348d8a57041.tar.xz
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
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index dc99fe1a2f..c78c2561c3 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