Skip to content

coverage: Prepare for improved branch coverage#124217

Merged
bors merged 8 commits intorust-lang:masterfrom
Zalathar:pre-branch
Apr 23, 2024
Merged

coverage: Prepare for improved branch coverage#124217
bors merged 8 commits intorust-lang:masterfrom
Zalathar:pre-branch

Conversation

@Zalathar
Copy link
Copy Markdown
Member

When trying to rebase my new branch coverage work (including #124154) on top of the introduction of MC/DC coverage (#123409), I found it a lot harder than anticipated. With the benefit of hindsight, the branch coverage code and MC/DC code have become more interdependent than I'm happy with.

This PR therefore disentangles them a bit, so that it will be easier for both areas of code to evolve independently without interference.


This PR also includes a few extra branch coverage tests that I had sitting around from my current branch coverage work. They mostly just demonstrate that certain language constructs listed in #124118 currently don't have branch coverage support.

@rustbot label +A-code-coverage

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-code-coverage Area: Source-based code coverage (-Cinstrument-coverage) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants