From d552da76ff86e82ac8c9a1990aecb626169b4e9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Wed, 9 Oct 2013 01:51:56 +0200 Subject: [PATCH 1/2] travis: check if cppcheck-htmlreport works with xml2 + --inconclusive output. --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 93d6b2d33..d33e4a919 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,10 @@ script: - cd ../ - ./htmlreport/test_htmlreport.py - cd htmlreport - - ./cppcheck-htmlreport --file ../gui/test/data/xmlfiles/xmlreport_v1.xml --title "this is a test" --report-dir . --source-dir ../test/ - - ./cppcheck-htmlreport --file ../gui/test/data/xmlfiles/xmlreport_v2.xml --title "this is a test" --report-dir . --source-dir ../test/ + - ./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 - cd ../ - mkdir install_test - make DESTDIR=install_test install From 38290120c9530f7cb5db987debaf1f764f17004e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Wed, 9 Oct 2013 01:58:37 +0200 Subject: [PATCH 2/2] travis: add another check for xml2 + inconclusive + verbose. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index d33e4a919..178a9d087 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,8 @@ script: - ./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 ../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 - cd ../ - mkdir install_test - make DESTDIR=install_test install