Travis: use the generated cfg tests

This commit is contained in:
Daniel Marjamäki 2018-03-19 21:15:14 +01:00
parent dfd8ef5d52
commit daa142ff25
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ script:
# check test/cfg
- make checkcfg
- make validateCFG
# generated cfg tests
- ./cppcheck --platform=unix32 --library=posix --inline-suppr --enable=warning,information test/cfg/generated-cfg-tests-posix.cpp 2>&1 | grep 'Unmatched suppression' ; test $? -eq 1
- ./cppcheck --platform=unix32 --library=windows --inline-suppr --enable=warning,information test/cfg/generated-cfg-tests-windows.cpp 2>&1 | grep 'Unmatched suppression' ; test $? -eq 1
- cd ./gui
# clean rebuild
- git clean -dfx .