If I do these steps on my laptop, the analysis is slow and results a lot of errors in the xml (since I've removed --suppress from external libraries). If I run the same in the CI docker, the result is empty <errors> element in the xml and the whole 500+ file "analysis" is over in 8 seconds. It's like it skips the analysis alltogether, but even with "--verbose" it doens't report any errors. I've checked that all the include paths seem to be correct and there is nothing obviously different between the two cases.</errors>
Any ideas what could cause something like this?
The output of failing analysis looks like this (the whole log is way too big to include):
I've bumped into a strange issue with cppcheck when migrating from our old CI to CircleCI. The cppcheck works ok in the old CI.
CppCheck is 2.3 in old and 2.6 in the new
Our flow is simple:
If I do these steps on my laptop, the analysis is slow and results a lot of errors in the xml (since I've removed --suppress from external libraries). If I run the same in the CI docker, the result is empty <errors> element in the xml and the whole 500+ file "analysis" is over in 8 seconds. It's like it skips the analysis alltogether, but even with "--verbose" it doens't report any errors. I've checked that all the include paths seem to be correct and there is nothing obviously different between the two cases.</errors>
Any ideas what could cause something like this?
The output of failing analysis looks like this (the whole log is way too big to include):
Last edit: Petri Lipponen 2022-01-25