From 71747ccc9d0032a865854613329362563c0574df Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Thu, 10 Mar 2022 07:58:27 -0800 Subject: [PATCH] Filter out system headers on macOS. Fixes #14969. RELNOTES: Bazel now no longer includes system headers on macOS in coverage reports (#14969). Closes #14971. PiperOrigin-RevId: 433753228 --- tools/test/collect_coverage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/test/collect_coverage.sh b/tools/test/collect_coverage.sh index 3c475d9c9c3148..34eb11637b1139 100755 --- a/tools/test/collect_coverage.sh +++ b/tools/test/collect_coverage.sh @@ -235,6 +235,7 @@ LCOV_MERGER_CMD="${LCOV_MERGER} --coverage_dir=${COVERAGE_DIR} \ --filter_sources=/usr/bin/.+ \ --filter_sources=/usr/lib/.+ \ --filter_sources=/usr/include.+ \ + --filter_sources=/Applications/.+ \ --filter_sources=.*external/.+ \ --source_file_manifest=${COVERAGE_MANIFEST}"