Merge pull request #180 from matthiaskrgr/travis

travis: check cppcheck-htmlreport compatibility with --inconclusive and --verbose flags
This commit is contained in:
Daniel Marjamäki 2013-10-08 22:34:08 -07:00
commit f4020b8838
1 changed files with 6 additions and 2 deletions

View File

@ -14,8 +14,12 @@ script:
- cd ../ - cd ../
- ./htmlreport/test_htmlreport.py - ./htmlreport/test_htmlreport.py
- cd htmlreport - 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_v1.xml --title "xml1 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_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 ../ - cd ../
- mkdir install_test - mkdir install_test
- make DESTDIR=install_test install - make DESTDIR=install_test install