Make the information about disabled ARCMT/Rewriter/StaticAnalyzer available
to lit and use this info to disable Analysis/FixIt/Rewriter/Analysis tests
when those are not compiled into clang.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189395 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
index 39f4322..1b0b09a 100644
--- a/test/lit.site.cfg.in
+++ b/test/lit.site.cfg.in
@@ -10,6 +10,9 @@
 config.clang_obj_root = "@CLANG_BINARY_DIR@"
 config.target_triple = "@TARGET_TRIPLE@"
 config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
+config.clang_arcmt = @ENABLE_CLANG_ARCMT@
+config.clang_staticanalyzer = @ENABLE_CLANG_STATIC_ANALYZER@
+config.clang_rewriter = @ENABLE_CLANG_REWRITER@
 
 # Support substitution of the tools and libs dirs with user parameters. This is
 # used when we can't determine the tool dir at configuration time.