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
This commit is contained in:
Neels Hofmeyr 2016-10-01 01:34:41 +02:00
parent 5c0f21fb1d
commit a7e0987f68
4 changed files with 12 additions and 12 deletions

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -1,7 +1,7 @@
#!/bin/sh
mkdir -p source-iuh
mkdir -p source-Osmocom
cd source-iuh
cd source-Osmocom
for proj in \
asn1c \