Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for --combined_report=lcov #3344

Closed
wants to merge 1 commit into from

Conversation

tingilee
Copy link
Contributor

@tingilee tingilee commented Nov 8, 2022

What type of PR is this?

Other

What does this PR do? Why is it needed?
Adds tests for lcov merge integration provided by Bazel

Which issues(s) does this PR fix?

Fixes #3343

Other notes for review

#3294 contains the actual fix.
This PR creates tests.

})

t.Run("with-combined-lcov", func(t *testing.T) {
testCoverage(t, "set", "bazel-out/_coverage/_coverage_report.dat", "--combined_report=lcov")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The testCoverage function below disables lcov in favor of the Go cover format, so this test can't pass.

Maybe move this info lcov_coverage_tests.go?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lcov_coverage_tests.go already has this before #3294.

@tingilee tingilee closed this Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--combined_report=lcov not working
2 participants