summaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2013-03-22 18:54:14 +0000
committerGalina Kistanova <gkistanova@gmail.com>2013-03-22 18:54:14 +0000
commit57ba122e76280a4101c5913ff72d07c64933a468 (patch)
tree856cef4dcbbc1df7d16ce5b9f7339e22567f3428 /test/Makefile
parent63da4062e4ef85fd64a6f5681e61e4bba4c4a076 (diff)
downloadexternal_llvm-57ba122e76280a4101c5913ff72d07c64933a468.zip
external_llvm-57ba122e76280a4101c5913ff72d07c64933a468.tar.gz
external_llvm-57ba122e76280a4101c5913ff72d07c64933a468.tar.bz2
Reverted r176374. In some cases the lit.site.cfg file does not get generated in tools/clang/tools/extra.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index bd6b672..b476951 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -60,6 +60,11 @@ 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