Skip to content

Conversation

@firewave
Copy link
Collaborator

@firewave firewave commented Apr 13, 2023

This exposes tests which were using executors with the wrong amount of jobs leading to code paths which cannot occur in application code.

@firewave
Copy link
Collaborator Author

firewave commented Apr 13, 2023

Still not finished. Also the suppression tests need to be extended to highlight the issues we encounter in our selfcheck.

I removed the CI files so this does not trigger a build to ease things.

@firewave
Copy link
Collaborator Author

It turns out there is no "problem" with the suppressions. The tests were just faulty and I misunderstood https://trac.cppcheck.net/ticket/10104 as well as the output of #3090.

@firewave firewave changed the title make sure executors are only used in the intended context make sure executors are only used in the intended context / TestSuppressions cleanups Apr 14, 2023
@firewave
Copy link
Collaborator Author

The executor-specific tests should probably be moved into the executor tests but that would lead to unnecessary code duplication. We can do that after the executors share the same code and no longer need separate tests.

@firewave firewave marked this pull request as ready for review April 14, 2023 09:35
@firewave firewave merged commit 6eae4e7 into danmar:main Apr 28, 2023
@firewave firewave deleted the executors-x branch April 28, 2023 10:41
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.

2 participants