-
Notifications
You must be signed in to change notification settings - Fork 20
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 coverage support to C++ regression tests #212
Conversation
@stefanbucur Could you review this? This differs from #174 in that the LCOV merger is no longer built without @zhenyudg I added you as a coauthor. |
@stefanbucur Friendly ping |
Thanks so much for the ping, it totally fell through the cracks. I'll take a look by EOD. (PS: In general, please feel free to ping me if you don't get a review within a few days. Nowadays I'm spending less time on Github so things may easily slip off my attention.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great - thanks so much for figuring out a way to do this cleanly. Just small-ish comments / suggestions.
fuzzing/tools/BUILD
Outdated
) | ||
|
||
config_setting( | ||
name = "collect_code_coverage", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Maybe use a different name to avoid confusion with the real flag at use sites? E.g. coverage_collection_enabled
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but we seem to have new test failures?
Looks like |
@stefanbucur I updated the Bazel version to 5.0.0, which makes Bazel look for |
Interesting indeed 🤔 FWIW, the CI fuzzing test has been broken for about 3 weeks at head too: https://github.com/bazelbuild/rules_fuzzing/actions/workflows/oss_fuzz.yml |
rules_fuzzing uses Bazel 4, which still expects `python` in `PATH`. Work towards bazel-contrib/rules_fuzzing#212 (comment)
8638b35
to
1d17ea8
Compare
Co-authored-by: Zhen Yu Ding <zhendeveloper@gmail.com>
@stefanbucur Tests are passing now. |
rules_fuzzing uses Bazel 4, which still expects `python` in `PATH`. Work towards bazel-contrib/rules_fuzzing#212 (comment)
Co-authored-by: Zhen Yu Ding zhendeveloper@gmail.com
Closes #174