summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commitf419931fa3a120e23ac0c1f536ab6209f70e7d9d (patch)
tree20846dc9f4322dd475c7bd4c5b6bc1675f62ca6d /llvm/test
parent460cf8891b18efd8a76fa66ad297eea7892eb82a (diff)
downloadbcm5719-llvm-f419931fa3a120e23ac0c1f536ab6209f70e7d9d.tar.gz
bcm5719-llvm-f419931fa3a120e23ac0c1f536ab6209f70e7d9d.zip
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
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Makefile b/llvm/test/Makefile
index dc99fe1a2f2..c78c2561c34 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
OpenPOWER on IntegriCloud