aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-08-09 20:26:41 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-08-09 20:26:41 +0000
commitf5ecf02d598ef8485f273af2c1e1122af2241198 (patch)
tree0e5dc993f11acd02c65aba6fbb81807680230c26 /test/Makefile
parent8d7e5efcaa5a1625e9518d090697f08d6d1110d5 (diff)
downloadexternal_llvm-f5ecf02d598ef8485f273af2c1e1122af2241198.zip
external_llvm-f5ecf02d598ef8485f273af2c1e1122af2241198.tar.gz
external_llvm-f5ecf02d598ef8485f273af2c1e1122af2241198.tar.bz2
Teach the LLVM test makefile to run the extra Clang tools' test suites
as part of check-all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161610 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 f5e9ff5..9ddfabf 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -62,6 +62,15 @@ clang-site-cfg: FORCE
$(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/test lit.site.cfg Unit/lit.site.cfg
extra-site-cfgs:: clang-site-cfg
endif
+
+ifeq ($(shell test -f $(PROJ_OBJ_DIR)/../tools/clang/tools/extra/Makefile && echo OK), OK)
+LIT_ALL_TESTSUITES += $(PROJ_OBJ_DIR)/../tools/clang/tools/extra/test
+
+# Force creation of Clang Tools' lit.site.cfg.
+clang-tools-site-cfg: FORCE
+ $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/tools/extra/test lit.site.cfg
+extra-site-cfgs:: clang-tools-site-cfg
+endif
endif
endif