Skip to content

Commit

Permalink
Update coverage output generator to coverage_output_generator-v2.7.
Browse files Browse the repository at this point in the history
Built at commit 93e76f2.

Relevant changes:
 * Log level for many messages changed from INFO to FINE (bazelbuild#22257).
 * IOExceptions are no longer ignored (bazelbuild#21987).
 * Baseline coverage files are not ignored (bazelbuild#24563).

RELNOTES: Baseline coverage files are no longer ignored.
  • Loading branch information
c-mita committed Dec 6, 2024
1 parent 93e76f2 commit ca2438d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
7 changes: 2 additions & 5 deletions src/test/shell/bazel/bazel_coverage_starlark_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,7 @@ DA:1,1
DA:2,0
LH:1
LF:2
end_of_record"
# TODO: Remove this check after the next release of the coverage generator.
if [[ "${COVERAGE_GENERATOR_WORKSPACE_FILE}" != "released" ]]; then
expected_coverage="$expected_coverage
end_of_record
SF:test/untested_1.txt
FNF:0
FNH:0
Expand All @@ -396,7 +393,7 @@ FNH:0
LH:0
LF:0
end_of_record"
fi

assert_coverage_result "$expected_coverage" bazel-out/_coverage/_coverage_report.dat
}

Expand Down
4 changes: 2 additions & 2 deletions tools/test/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ load("//tools/build_defs/repo:http.bzl", "http_archive")
def _remote_coverage_tools_extension_impl(ctx):
http_archive(
name = "remote_coverage_tools",
sha256 = "7006375f6756819b7013ca875eab70a541cf7d89142d9c511ed78ea4fefa38af",
sha256 = "15956e9ead5b8ebc596ef06750d1d797d4da8ce8110e69a874015d519012ce35",
urls = [
"https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.6.zip",
"https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.7.zip",
],
)
return ctx.extension_metadata(reproducible = True)
Expand Down
6 changes: 3 additions & 3 deletions workspace_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ WORKSPACE_REPOS = {
"urls": ["https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0/rules_testing-v0.6.0.tar.gz"],
},
"remote_coverage_tools": {
"archive": "coverage_output_generator-v2.6.zip",
"sha256": "7006375f6756819b7013ca875eab70a541cf7d89142d9c511ed78ea4fefa38af",
"urls": ["https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.6.zip"],
"archive": "coverage_output_generator-v2.7.zip",
"sha256": "15956e9ead5b8ebc596ef06750d1d797d4da8ce8110e69a874015d519012ce35",
"urls": ["https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.7.zip"],
},
}

Expand Down

0 comments on commit ca2438d

Please sign in to comment.