File: coverity-build-submit.sh

package info (click to toggle)
aprx 2.9.0+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,352 kB
  • sloc: ansic: 15,809; sh: 598; makefile: 160
file content (27 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash

set -e

export PATH=$PATH:~/src/cov-analysis-linux64-6.5.1/bin

make clean
./configure
rm -rf cov-int
cov-build --dir cov-int make
tar cvfz aprx-coverity.tgz cov-int
rm -rf cov-int

VERSION="`cat VERSION`"
PROJECT="Aprx"
PASSWORD="`cat ~/.covpw`"

echo "Uploading Aprx version $VERSION to Coverity..."

curl --form file=@aprx-coverity.tgz --form project="$PROJECT" \
	--form password="$PASSWORD" \
	--form email=oh2mqk@sral.fi \
	--form version="$VERSION" \
	--form description="" \
	http://scan5.coverity.com/cgi-bin/upload.py

rm -f aprx-coverity.tgz