aboutsummaryrefslogtreecommitdiffstats
path: root/coverity/local_test.sh
blob: 4ac1307eeb92b50d5feb24209c7b3c50bfcb6317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -ex
# Use this script for local testing of the prepare source and build scripts
SCRIPT_DIR="$(dirname "$(realpath "$0")")"

export SRC_SKIP_FETCH=1
export SRC_CLEAN=1

mkdir -p /tmp/coverity
cp "$SCRIPT_DIR"/* /tmp/coverity

cd /tmp/coverity

./prepare_source_Osmocom.sh
./build_Osmocom.sh