diff --git a/clang_tidy/clang_tidy_test.bzl b/clang_tidy/clang_tidy_test.bzl index 17ae16f..9028fff 100644 --- a/clang_tidy/clang_tidy_test.bzl +++ b/clang_tidy/clang_tidy_test.bzl @@ -67,14 +67,16 @@ fi ln -s .. external +"$bin" --quiet --verify-config + has_srcs=false if [[ -n "{c_sources}" ]]; then - "$bin" --quiet --verify-config --export-fixes $TEST_UNDECLARED_OUTPUTS_DIR/cfixes.yaml {c_sources} -- {c_flags} + "$bin" --quiet --export-fixes $TEST_UNDECLARED_OUTPUTS_DIR/cfixes.yaml {c_sources} -- {c_flags} has_srcs=true fi if [[ -n "{cxx_sources}" ]]; then - "$bin" --quiet --verify-config --export-fixes $TEST_UNDECLARED_OUTPUTS_DIR/cxxfixes.yaml {cxx_sources} -- {cxx_flags} + "$bin" --quiet --export-fixes $TEST_UNDECLARED_OUTPUTS_DIR/cxxfixes.yaml {cxx_sources} -- {cxx_flags} has_srcs=true fi