Outcome analysis: detect obsolete exceptions #111
Labels
No labels
approved
bug
dependencies
DO-NOT-MERGE
enhancement
good-first-issue
help-wanted
historical-reviewed
historical-reviewing
needs-adoption
needs-ci
needs-design-approval
needs-info
needs-preceding-pr
needs-review
needs-reviewer
needs-work
priority-high
priority-low
priority-medium
priority-scheduled
priority-very-high
single-reviewer
size-l
size-m
size-s
size-xs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Mbed-TLS/mbedtls-framework#111
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In
outcome_analysis.py(possibly with an impact onanalyze_outcomes.pyin consuming repositories), add a way to detect obsolete exceptions to coverage checks.Note that this is different from the existing mechanism that causes a failure if a test case is expected to be skipped, but actually passes. The goal here is to detect exceptions that do not match any test case, presumably because the corresponding test case has disappeared.
This may be costly, and is of low importance, so it can be a special command line option that we run manually, rather than something done at every invocation.
Example: https://github.com/Mbed-TLS/mbedtls/pull/9796/commits/b62279d9608944a15f750581d2c1974e60ca7b7b removed some exceptions that were no longer necessary because we removed (stopped generating) some test cases that were never executed. The goal of this issue is to have a way to detect those exceptions.