aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-01 01:34:41 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-01 01:58:19 +0200
commita7e0987f682adf7e5da1214030e5999a9818ed7c (patch)
tree77d1b977dd51ef566fce9f7364e2d9cd0af25f94
parent5c0f21fb1d2ddbf5c973b36cef962b0d2c063946 (diff)
coverity: rename iuh build to Osmocom
This corresponds to the scan.coverity project name this is uploaded to. Also apply renaming in file content: call renamed build_Osmocom.sh, use dir source-Osmocom and install-Osmocom, use a token named 'Osmocom'. The point is that the combined build of all osmocom projects finds problems more accurately, since coverity can analyse across all libraries at the same time. Still build the iuh branches, since they are basically an extension of the current master branches (given that they are rebased onto master regularly, which they currently are). Name the generated tar Osmocom.tgz instead of myproject.tgz. Change-Id: If316d54327cca8aa1b499bf35b6b22385bd83702
-rwxr-xr-xcoverity/build_Osmocom.sh (renamed from coverity/build_iuh.sh)4
-rwxr-xr-xcoverity/coverity_Osmocom.sh (renamed from coverity/coverity_iuh.sh)12
-rwxr-xr-xcoverity/get_token.sh4
-rwxr-xr-xcoverity/prepare_source_Osmcocom.sh (renamed from coverity/prepare_source_iuh.sh)4
4 files changed, 12 insertions, 12 deletions
diff --git a/coverity/build_iuh.sh b/coverity/build_Osmocom.sh
index d9a86a4..40e1e5e 100755
--- a/coverity/build_iuh.sh
+++ b/coverity/build_Osmocom.sh
@@ -3,8 +3,8 @@
set -e -x
base_dir="$PWD"
-src_dir="$base_dir/source-iuh"
-prefix="$base_dir/install-iuh"
+src_dir="$base_dir/source-Osmocom"
+prefix="$base_dir/install-Osmocom"
install -d "$prefix"
diff --git a/coverity/coverity_iuh.sh b/coverity/coverity_Osmocom.sh
index 49e30d4..e835f18 100755
--- a/coverity/coverity_iuh.sh
+++ b/coverity/coverity_Osmocom.sh
@@ -3,20 +3,20 @@
set -e -x
base_dir="$PWD"
-src_dir="$base_dir/source-iuh"
+src_dir="$base_dir/source-Osmocom"
cov_dir="$src_dir/cov-int"
export PATH="$base_dir/cov-analysis-linux64-8.5.0/bin/:$PATH"
rm -rf "$cov_dir"
-cov-build --dir "$cov_dir" ./build_iuh.sh
+cov-build --dir "$cov_dir" ./build_Osmocom.sh
cd "$src_dir"
-rm -f myproject.tgz
-tar czf myproject.tgz cov-int
+rm -f Osmocom.tgz
+tar czf Osmocom.tgz cov-int
curl \
- --form token="$($base_dir/get_token.sh $base_dir/tokens.txt iuh)" \
- --form email=holger@freyther.de --form file=@myproject.tgz \
+ --form token="$($base_dir/get_token.sh $base_dir/tokens.txt Osmocom)" \
+ --form email=holger@freyther.de --form file=@Osmocom.tgz \
--form version=Version --form description=AutoUpload \
https://scan.coverity.com/builds?project=Osmocom
diff --git a/coverity/get_token.sh b/coverity/get_token.sh
index 75eaf05..c44fde0 100755
--- a/coverity/get_token.sh
+++ b/coverity/get_token.sh
@@ -9,8 +9,8 @@
#
# e.g.
#
-# a3Ksd02nfa-Lk28f_cAk3F libosmocore
-# b8sdJA_sd43fLS3-2vL24g libosmo-abis
+# a3Ksd02nfa-Lk28f_cAk3F Osmocom
+# b8sdJA_sd43fLS3-2vL24g Another-token
# ...
tokens_file="$1"
diff --git a/coverity/prepare_source_iuh.sh b/coverity/prepare_source_Osmcocom.sh
index 9d1b261..397e7fc 100755
--- a/coverity/prepare_source_iuh.sh
+++ b/coverity/prepare_source_Osmcocom.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-mkdir -p source-iuh
+mkdir -p source-Osmocom
-cd source-iuh
+cd source-Osmocom
for proj in \
asn1c \