Skip to content

Commit

Permalink
Filter out system headers on macOS.
Browse files Browse the repository at this point in the history
Fixes bazelbuild#14969.

RELNOTES:
Bazel now no longer includes system headers on macOS in coverage reports (bazelbuild#14969).

Closes bazelbuild#14971.

PiperOrigin-RevId: 433753228
  • Loading branch information
phst authored and copybara-github committed Mar 10, 2022
1 parent 76c1048 commit 71747cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/test/collect_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit 71747cc

Please sign in to comment.