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

refs #12171 / fixed #12347 - improved handling of (unmatched) local and inline suppressions #5647

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

firewave
Copy link
Collaborator

@firewave firewave commented Nov 9, 2023

No description provided.

@firewave firewave force-pushed the test-suppr branch 4 times, most recently from 375689d to 8210435 Compare November 10, 2023 14:57
@firewave

This comment was marked as outdated.

@firewave

This comment was marked as outdated.

@firewave firewave force-pushed the test-suppr branch 4 times, most recently from d902cf6 to edf3e71 Compare April 9, 2024 08:50


@pytest.mark.xfail(strict=True)
def test_unused_function_unmatched_build_dir_j_process(tmpdir):
Copy link
Collaborator Author

@firewave firewave Apr 9, 2024

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.

@firewave firewave force-pushed the test-suppr branch 4 times, most recently from 01d932f to f749f0a Compare May 5, 2024 18:29
@firewave

This comment was marked as outdated.

@firewave firewave changed the title refs #12171 / fixed #12347 - improved handling of local and inline suppressions refs #12171 / fixed #12347 - improved handling of (unmatched) local and inline suppressions Jan 13, 2025
@firewave firewave force-pushed the test-suppr branch 3 times, most recently from 8e625a6 to 458341d Compare January 14, 2025 13:13
@firewave firewave force-pushed the test-suppr branch 2 times, most recently from c6f6339 to 3f2c505 Compare January 27, 2025 19:25
Comment on lines 2586 to 2588
# 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):
Copy link
Collaborator Author

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...

Comment on lines +2601 to 2603
# 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):
Copy link
Collaborator Author

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...

Comment on lines +129 to +130
# TODO: remove overrides when it is fully working
def __test_suppress_inline_project(tmp_path, extra_args):
Copy link
Collaborator Author

@firewave firewave Jan 27, 2025

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.

Comment on lines 159 to 160
@pytest.mark.xfail(strict=True)
def test_suppress_inline_project_j(tmp_path):
Copy link
Collaborator Author

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.

@firewave
Copy link
Collaborator Author

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.

@firewave firewave marked this pull request as ready for review January 27, 2025 19:54
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.

1 participant