From daa142ff258887e731fdd2c89a0734ca7c495f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 19 Mar 2018 21:15:14 +0100 Subject: [PATCH] Travis: use the generated cfg tests --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9e2d7d468..94f3c3c50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 .