From 184d6af08f2ec01ea1fb2eb7a2929d5abcb9c075 Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Mon, 27 Feb 2012 14:47:56 -0500 Subject: [PATCH] #8763 cppcheck: exclude libs directory --- hudson-sflphone-script.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hudson-sflphone-script.sh b/hudson-sflphone-script.sh index e7873e20b6..0e78cb0b3a 100755 --- a/hudson-sflphone-script.sh +++ b/hudson-sflphone-script.sh @@ -13,7 +13,7 @@ DOXYGEN=0 function run_code_analysis { # Check if cppcheck is installed on the system if [ `which cppcheck &>/dev/null ; echo $?` -ne 1 ] ; then - cppcheck . --enable=all --xml 2> cppcheck-report.xml + cppcheck . -ilibs/ --enable=all --xml 2> cppcheck-report.xml fi } @@ -27,7 +27,6 @@ function gen_doxygen { } function build_daemon { - # Compile the daemon pushd daemon # Run static analysis code tool @@ -66,7 +65,6 @@ function build_daemon { } function build_gnome { - # Compile the plugins pushd plugins make distclean -- GitLab