Comments (6)
@Dr-Dream Can you please provide an example that reproduces this failure?
Please provide:
- Cppcheck version
- Example C++ source file that triggers the condition
- Exact run steps that trigger the behaviour.
Thanks.
from cppcheck-junit.
cppchek 1.73
I've tried with different options, so i've attached with last result. It's no an missingIncludes, but 'toomanyconfigs'.
Runnin command
cppcheck --xml-version=2 --enable=warning . 2>cppcheck-result.xml
cppcheck_junit cppcheck-result.xml cppcheck-junit.xml
Result is here
https://github.com/Dr-Dream/examples/blob/master/cppcheck-junit-tests/cppcheck-result.xml
I'm not sure i could provide you a sample code in short time, because it's not mine actually, but my employer.
I'll try to prepare something simmilar in short time.
PS:also tested on 1.1.1
from cppcheck-junit.
@Dr-Dream Thanks for the test file. Please try out version 1.1.2
to confirm your issue is resolved.
from cppcheck-junit.
This still seems to be a problem. For example, the following output for cppcheck is causing problems with HEAD on master:
<?xml version="1.0" encoding="UTF-8"?> <results version="2"> <cppcheck version="1.61"/> <errors> <error id="missingInclude" severity="information" msg="Cppcheck cannot find all the include files (use --check-config for details)" verbose="Cppcheck cannot find all the include files. Cppcheck can check the code without t he include files found. But the results will probably be more accurate if all the include files are found. Please check your project's include directories and add all of them as include directories for Cppcheck. To see what files Cppcheck cannot find use --check-config."> </error> </errors> </results>
from cppcheck-junit.
@mjcaisse Could you provide an example .cpp
file that produces this output? I'd like to run the latest Cppcheck (1.7.4 as of writing) against it to make a good unit test for this to make sure this doesn't pop up again in the future.
from cppcheck-junit.
@mjcaisse Thanks for issue report and the PR! Please test if cppcheck-junit
1.2.0 has corrected your problem.
from cppcheck-junit.
Related Issues (9)
- Failed to use in Bamboo HOT 2
- No module named enum HOT 2
- Installation with pip in Python 3.9 - cppcheck_junit is not recognized as an internal or external command, operable program or batch file HOT 4
- Drop Python 3.6 HOT 2
- Enable GitHub actions on pull requests HOT 1
- Fix type checking HOT 1
- Failing tests not showing up on bamboo. HOT 11
- Optional parameter to set exit code on test error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppcheck-junit.