-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
refs #12171 / fixed #12347 - improved handling of (unmatched) local and inline suppressions #5647
base: main
Are you sure you want to change the base?
Conversation
375689d
to
8210435
Compare
This comment was marked as outdated.
This comment was marked as outdated.
97c1254
to
f08f274
Compare
9606dd6
to
825a8cb
Compare
FileSettings
This comment was marked as outdated.
This comment was marked as outdated.
d902cf6
to
edf3e71
Compare
test/cli/inline-suppress_test.py
Outdated
|
||
|
||
@pytest.mark.xfail(strict=True) | ||
def test_unused_function_unmatched_build_dir_j_process(tmpdir): |
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 was already failing before my changes.
01d932f
to
f749f0a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
8e625a6
to
458341d
Compare
c6f6339
to
3f2c505
Compare
test/cli/other_test.py
Outdated
# TODO: the suppressions are generated outside of the scope which captures the analysis information | ||
@pytest.mark.xfail(strict=True) | ||
def test_inline_suppr_builddir_cached(tmp_path): |
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 regression is unfortunate but fixing this again requires some additional refactoring and this PR is already way too big...
# TODO: the suppressions are generated outside of the scope which captures the analysis information | ||
@pytest.mark.xfail(strict=True) | ||
def test_inline_suppr_builddir_j_cached(tmp_path): |
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 regression is unfortunate but fixing this again requires some additional refactoring and this PR is already way too big...
# TODO: remove overrides when it is fully working | ||
def __test_suppress_inline_project(tmp_path, extra_args): |
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.
I have no idea yet why this fails.
test/cli/whole-program_test.py
Outdated
@pytest.mark.xfail(strict=True) | ||
def test_suppress_inline_project_j(tmp_path): |
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.
I have no idea yet why this fails.
…nalysis has been run
I think this is fine to be merged. The regression are unfortunate but expected given the changes. But this has already taken way too long and there are lots of improvements compared to before. So this is an overall plus. |
No description provided.