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

Fix #13216: Add checkers-report block to xml output #6914

Merged
merged 5 commits into from
Oct 22, 2024

Conversation

olabetskyi
Copy link
Collaborator

No description provided.

@firewave
Copy link
Collaborator

Please rebase and drop the stray bad commit.

@firewave
Copy link
Collaborator

The bad commit is still there. That needs to be dropped from the branch.

lib/checkersreport.cpp Outdated Show resolved Hide resolved
@firewave
Copy link
Collaborator

firewave commented Oct 15, 2024

We should add a test which generates the output and validates the XML. I am not sure where to add that since the existing targets only test static files and not the results of the CLI.

As that would require the cppcheck binary to exist it should probably be a Python test.

Having a RNG would be the icing on the cake.

lib/checkersreport.cpp Outdated Show resolved Hide resolved
lib/checkersreport.cpp Outdated Show resolved Hide resolved
lib/checkersreport.cpp Outdated Show resolved Hide resolved
lib/checkersreport.cpp Outdated Show resolved Hide resolved
lib/errorlogger.cpp Outdated Show resolved Hide resolved
test/cli/other_test.py Outdated Show resolved Hide resolved
cli/cppcheckexecutor.cpp Show resolved Hide resolved
lib/checkersreport.cpp Outdated Show resolved Hide resolved
lib/checkersreport.cpp Outdated Show resolved Hide resolved
lib/checkersreport.cpp Outdated Show resolved Hide resolved
lib/checkersreport.cpp Outdated Show resolved Hide resolved
test/cli/checkers-report_test.py Outdated Show resolved Hide resolved
test/cli/other_test.py Outdated Show resolved Hide resolved
test/cli/checkers-testing/test1.cpp Outdated Show resolved Hide resolved
@olabetskyi olabetskyi marked this pull request as ready for review October 22, 2024 09:58
@olabetskyi olabetskyi merged commit a7a8038 into danmar:main Oct 22, 2024
66 checks passed
@olabetskyi olabetskyi deleted the fix_13216 branch October 22, 2024 09:59
@firewave
Copy link
Collaborator

We should document what the differences between version 2 and 3 are.

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.

3 participants