aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-08-08 07:58:58 +0200
committerHolger Freyther <holger@freyther.de>2016-08-08 14:34:52 +0000
commitb0f8fa814376d46ff9d7ef0e94e8480ce63442f9 (patch)
tree75bfaa8eea68e599eec4fbfa3b518ecce3014f67
parent44663c17e784aa6252b8569482ebfe0ba4e12358 (diff)
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
-rwxr-xr-xcontrib/jenkins_oct.sh15
-rwxr-xr-xcontrib/jenkins_sysmobts.sh13
2 files changed, 0 insertions, 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