]> granicus.if.org Git - clang/commitdiff
Revert r359717, "Make check-clang depend on the clang-check binary always"
authorNico Weber <nicolasweber@gmx.de>
Wed, 1 May 2019 23:32:38 +0000 (23:32 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 1 May 2019 23:32:38 +0000 (23:32 +0000)
The Tooling tests do have a lit.local.cfg with

    if not config.root.clang_staticanalyzer:
        config.unsupported = True

so what's wrong isn't the missing dep, but that lit prints a warning for
the binary missing. This will need a different kind of fix.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359739 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt

index facddbd0a1ce3abb689291ec38fec9798d57b7f6..65a1d6e91f0304f8a7abc052e5dc3768baf9dcac 100644 (file)
@@ -49,7 +49,6 @@ list(APPEND CLANG_TEST_DEPS
   c-index-test
   clang
   clang-resource-headers
-  clang-check
   clang-format
   clang-tblgen
   clang-offload-bundler
@@ -63,6 +62,7 @@ list(APPEND CLANG_TEST_DEPS
   
 if(CLANG_ENABLE_STATIC_ANALYZER)
   list(APPEND CLANG_TEST_DEPS
+    clang-check
     clang-extdef-mapping
     )
 endif()