OSDN Git Service

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/llvm/trunk@359739 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/clang/test/BUILD.gn

index b7fd034..b5c5ec0 100644 (file)
@@ -108,7 +108,6 @@ group("test") {
     ":lit_unit_site_cfg",
     "//clang/lib/Headers",
     "//clang/tools/c-index-test",
-    "//clang/tools/clang-check",
     "//clang/tools/clang-diff",
     "//clang/tools/clang-format",
     "//clang/tools/clang-import-test",
@@ -148,6 +147,7 @@ group("test") {
   }
   if (clang_enable_static_analyzer) {
     deps += [
+      "//clang/tools/clang-check",
       "//clang/tools/clang-extdef-mapping",
     ]
   }