Skip to content

improved testing of missing includes / made it possible to clear the include cache in simplecpp #4704

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

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

firewave
Copy link
Collaborator

@firewave firewave commented Jan 10, 2023

This is necessary for the missing include tests to work.

This is not working properly if Cppcheck is being used to scan multiple projects within the same execution (e.g. when using it as a library).

This requires danmar/simplecpp#282 and danmar/simplecpp#287 merged first.

@firewave
Copy link
Collaborator Author

Requires #4705 to be merged first.

@firewave
Copy link
Collaborator Author

The very redundant tests are only temporary and will go away when #3229 lands.

@firewave firewave force-pushed the test-include branch 3 times, most recently from c8644bf to 648a4ee Compare February 3, 2023 15:41
@firewave firewave marked this pull request as ready for review February 3, 2023 16:38
@firewave
Copy link
Collaborator Author

firewave commented Feb 3, 2023

The directory creation/removal code is a bit messy and we need some proper test/temp folder/container to run the tests in instead. But since we don't do much tests with include (yet!) it should be fine and sufficient for now.

@danmar danmar merged commit 4d9caa9 into danmar:main Feb 7, 2023
@firewave firewave deleted the test-include branch February 7, 2023 21:15
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