parent
783bb6eb0b
commit
18402bf673
|
@ -17,9 +17,9 @@ script:
|
|||
- ./cppcheck-htmlreport --file ../gui/test/data/xmlfiles/xmlreport_v1.xml --title "xml1 test" --report-dir . --source-dir ../test/
|
||||
- ./cppcheck-htmlreport --file ../gui/test/data/xmlfiles/xmlreport_v2.xml --title "xml2 test" --report-dir . --source-dir ../test/
|
||||
- ../cppcheck ../gui/test --enable=all --inconclusive --xml-version=2 2> gui_test.xml
|
||||
- ./cppcheck-htmlreport --file ./gui_test.xml --title "xml2 + inconclusive test" --report-dir . --source-dir ../gui/test
|
||||
- ./cppcheck-htmlreport --file ./gui_test.xml --title "xml2 + inconclusive test" --report-dir .
|
||||
- ../cppcheck ../gui/test --enable=all --inconclusive --verbose --xml-version=2 2> gui_test.xml
|
||||
- ./cppcheck-htmlreport --file ./gui_test.xml --title "xml2 + inconclusive + verbose test" --report-dir . --source-dir ../gui/test
|
||||
- ./cppcheck-htmlreport --file ./gui_test.xml --title "xml2 + inconclusive + verbose test" --report-dir .
|
||||
- cd ../
|
||||
- mkdir install_test
|
||||
- make DESTDIR=install_test install
|
||||
|
|
|
@ -196,6 +196,8 @@ class CppCheckHandler(XmlContentHandler):
|
|||
def handleVersion2(self, name, attributes):
|
||||
if name == "error":
|
||||
self.errors.append({
|
||||
"file" : "",
|
||||
"line" : 0,
|
||||
"id" : attributes["id"],
|
||||
"severity" : attributes["severity"],
|
||||
"msg" : attributes["msg"]
|
||||
|
|
Loading…
Reference in New Issue