Skip to content

Commit

Permalink
Filter out system headers on macOS. (bazelbuild#15020)
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
(cherry picked from commit 71747cc)

Co-authored-by: Philipp Stephani <[email protected]>
  • Loading branch information
brentleyjones and phst authored Mar 15, 2022
1 parent 95de355 commit f19d610
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 @@ -229,6 +229,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 f19d610

Please sign in to comment.