Repository navigation
addons:misra: export result to xml junit - #6452
RomainPelletant wants to merge 3 commits into
Conversation
Add junit export support based on junit-xml Each error in a testcase Signed-off-by: Romain Pelletant <romain.pelletant@gmail.com>
Add junit-xml as requirement Signed-off-by: Romain Pelletant <romain.pelletant@gmail.com>
|
I don't understand this. Do I understand it correctly that if a violation is found then the junit xml will say that it is a testcase. |
|
Hello danmar, thank you for your message. |
|
you did not specify which ci you use. but there are already options:
In my humble opinion junit output does not seem applicable to cppcheck. the output does not say what test cases are executed. |
|
This is really helpful. Thank you @RomainPelletant for this. This makes working in pipeline very easy. |
|
@aygupt1822 can you clarify? what kind of ci pipeline do you use? |
Add junit export support for MISRA addons directly.
Better implementation shall be done in cppcheckdata.py
Useful for CI