Hi echristo, klimek,

The make (all) target takes care of creating lit configs and
auto-generating tests. The problem with the original lit.site.cfg target
is it's not recursive and doesn't fully create everything necessary for
testing clang-tools-extra.

http://llvm-reviews.chandlerc.com/D480

Files:
  test/Makefile

Index: test/Makefile
===================================================================
--- test/Makefile
+++ test/Makefile
@@ -60,11 +60,6 @@
 
 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
Index: test/Makefile
===================================================================
--- test/Makefile
+++ test/Makefile
@@ -60,11 +60,6 @@
 
 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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to