improved testing of missing includes / made it possible to clear the include cache in simplecpp#4704
Merged
danmar merged 1 commit intodanmar:mainfrom Feb 7, 2023
Merged
Conversation
1cd6f9a to
5daa07a
Compare
Collaborator
Author
|
Requires #4705 to be merged first. |
5daa07a to
72a400b
Compare
Collaborator
Author
|
The very redundant tests are only temporary and will go away when #3229 lands. |
c8644bf to
648a4ee
Compare
…include cache in simplecpp
c1ccc6b to
64eff14
Compare
64eff14 to
3796517
Compare
Collaborator
Author
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.