summaryrefslogtreecommitdiffstats
path: root/coverity/prepare_source_Osmcocom.sh
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 /coverity/prepare_source_Osmcocom.sh
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
Diffstat (limited to 'coverity/prepare_source_Osmcocom.sh')
-rwxr-xr-xcoverity/prepare_source_Osmcocom.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/coverity/prepare_source_Osmcocom.sh b/coverity/prepare_source_Osmcocom.sh
new file mode 100755
index 0000000..397e7fc
--- /dev/null
+++ b/coverity/prepare_source_Osmcocom.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+mkdir -p source-Osmocom
+
+cd source-Osmocom
+
+for proj in \
+ asn1c \
+ libasn1c \
+ libosmo-abis \
+ libosmocore \
+ libosmo-dsp \
+ libosmo-netif \
+ libosmo-sccp \
+ libsmpp34 \
+ openbsc \
+ openggsn \
+ osmo-bts \
+ osmo-gmr \
+ osmo-iuh \
+ osmo-pcu \
+ osmo-sip-connector \
+ ; do
+
+ git clone git://git.osmocom.org/$proj
+done
+
+git clone git://git.sysmocom.de/sysmo-bts/layer1-api
+
+git -C asn1c checkout aper-prefix
+git -C libosmo-netif checkout sysmocom/sctp
+git -C libosmo-sccp checkout sysmocom/iu
+git -C openbsc checkout sysmocom/iu