From 4a8cc45f6ed0deb8441edeae9050ca5912a0b8b9 Mon Sep 17 00:00:00 2001 From: Grigoris Pavlakis <gregory.pavlakis@gmail.com> Date: Mon, 18 Mar 2019 16:06:59 +0000 Subject: [PATCH] Lock the addon files to this specific commit in order to avoid breaking stuff if cppcheck updates without prior creation of a package by Debian --- ci/cppcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/cppcheck.sh b/ci/cppcheck.sh index 65f0f184..cb8f5466 100755 --- a/ci/cppcheck.sh +++ b/ci/cppcheck.sh @@ -18,8 +18,8 @@ cppcheck --enable=all --inline-suppr --suppress=unusedFunction --suppress=missin echo -e "\033[33mRunning cppcheck with MISRA rule compliance tests...\033[0m" # grab the MISRA addon and the cppcheck addon interface from github -curl https://raw.githubusercontent.com/danmar/cppcheck/master/addons/misra.py > misra.py -curl https://raw.githubusercontent.com/danmar/cppcheck/master/addons/cppcheckdata.py > cppcheckdata.py +curl https://raw.githubusercontent.com/danmar/cppcheck/f4b5b156d720c712f6ce99f6e01d8c1b3f800d52/addons/misra.py > misra.py +curl https://raw.githubusercontent.com/danmar/cppcheck/f4b5b156d720c712f6ce99f6e01d8c1b3f800d52/addons/cppcheckdata.py > cppcheckdata.py # generate dump files (XML representations of AST etc.) for all headers, source files etc. for file in $(find inc/ src/ -type f) -- GitLab