Skip to content

Commit 267b0bb

Browse files
keitherenon
authored andcommitted
Run --verify-config separately
Turns out this option doesn't run checks, it _only_ checks the config.
1 parent 9e9bfc5 commit 267b0bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang_tidy/clang_tidy_test.bzl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,16 @@ fi
6767
6868
ln -s .. external
6969
70+
"$bin" --quiet --verify-config
71+
7072
has_srcs=false
7173
if [[ -n "{c_sources}" ]]; then
72-
"$bin" --quiet --verify-config --export-fixes $TEST_UNDECLARED_OUTPUTS_DIR/cfixes.yaml {c_sources} -- {c_flags}
74+
"$bin" --quiet --export-fixes $TEST_UNDECLARED_OUTPUTS_DIR/cfixes.yaml {c_sources} -- {c_flags}
7375
has_srcs=true
7476
fi
7577
7678
if [[ -n "{cxx_sources}" ]]; then
77-
"$bin" --quiet --verify-config --export-fixes $TEST_UNDECLARED_OUTPUTS_DIR/cxxfixes.yaml {cxx_sources} -- {cxx_flags}
79+
"$bin" --quiet --export-fixes $TEST_UNDECLARED_OUTPUTS_DIR/cxxfixes.yaml {cxx_sources} -- {cxx_flags}
7880
has_srcs=true
7981
fi
8082

0 commit comments

Comments
 (0)