Skip to content

Commit

Permalink
Exclude bazel-out from test coverage generation (#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnek authored Mar 23, 2022
1 parent 498a23d commit 45f1822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_cov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function build() {
}

function generate_lcov() {
object_files=$(find -L $(bazel info bazel-bin) -type f -exec file -L {} \; | grep "Mach-O" | sed 's,:.*,,' | grep -v 'testdata')
object_files=$(find -L $(bazel info bazel-bin) -type f -exec file -L {} \; | grep "Mach-O" | sed 's,:.*,,' | grep -v 'testdata' | grep -v 'bazel-out')
bazel_base=$(bazel info execution_root)

true > $COV_FILE
Expand Down

0 comments on commit 45f1822

Please sign in to comment.