From b0f8fa814376d46ff9d7ef0e94e8480ce63442f9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 8 Aug 2016 07:58:58 +0200 Subject: ci/spatch: Remove the "static" analysis handling spatch on Debian 8.0 has already crashed twice and is likely to crash more and at the same time the value for this static checking is close to zero (nice idea but never blossomed). So let's remove it, have a more reliable build and let's coverity find those issues. Change-Id: Ic1004edf7f0bee8dda30b95554a0aaf0b116b6b8 --- contrib/jenkins_oct.sh | 15 --------------- contrib/jenkins_sysmobts.sh | 13 ------------- 2 files changed, 28 deletions(-) diff --git a/contrib/jenkins_oct.sh b/contrib/jenkins_oct.sh index 34892978..88b8c084 100755 --- a/contrib/jenkins_oct.sh +++ b/contrib/jenkins_oct.sh @@ -15,9 +15,6 @@ git pull --rebase # Build the dependency cd ../ -# Analysis code -osmo-deps.sh osmo-static-analysis - osmo-deps.sh libosmocore cd libosmocore autoreconf --install --force @@ -54,15 +51,3 @@ PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig ./configure --with-openbsc=$PWD/ PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig $MAKE $PARALLEL_MAKE PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig LD_LIBRARY_PATH=$PWD/deps/install/lib $MAKE check DISTCHECK_CONFIGURE_FLAGS="--with-octsdr-2g=$PWD/deps/layer1-api/ --with-openbsc=$PWD/deps/openbsc/openbsc/include" PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig LD_LIBRARY_PATH=$PWD/deps/install/lib $MAKE distcheck - - - -# Use spatch to find common issues -spatch -include_headers -in_place -sp_file deps/osmo-static-analysis/coccinelle/memcpy.cocci . -RES=`git status --porcelain | grep ' M' | wc -l` -git checkout . - -if [ $RES -gt 0 ]; then - echo "Static analysis failed. Please fix the code." - exit 23 -fi diff --git a/contrib/jenkins_sysmobts.sh b/contrib/jenkins_sysmobts.sh index 7d171fcf..051c8e0c 100755 --- a/contrib/jenkins_sysmobts.sh +++ b/contrib/jenkins_sysmobts.sh @@ -15,9 +15,6 @@ git pull --rebase # Build the dependency cd ../ -# Analysis code -osmo-deps.sh osmo-static-analysis - osmo-deps.sh libosmocore cd libosmocore autoreconf --install --force @@ -62,13 +59,3 @@ DISTCHECK_CONFIGURE_FLAGS="--enable-sysmocom-bts --with-openbsc=$PWD/deps/openbs if [ $FIRMWARE_VERSION != "femtobts_v2.7" ]; then PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig $MAKE -C contrib/sysmobts-calib fi - -# Use spatch to find common issues -spatch -include_headers -in_place -sp_file deps/osmo-static-analysis/coccinelle/memcpy.cocci . -RES=`git status --porcelain | grep ' M' | wc -l` -git checkout . - -if [ $RES -gt 0 ]; then - echo "Static analysis failed. Please fix the code." - exit 23 -fi -- cgit v1.2.3