Skip to content

Commit 43c576d

Browse files
author
oh2mqk
committed
Tool for Coverity testing of Aprx
1 parent 8bf46fd commit 43c576d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

coverity-build-submit.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
export PATH=$PATH:~/src/cov-analysis-linux64-6.5.1/bin
6+
7+
make clean
8+
./configure
9+
rm -rf cov-int
10+
cov-build --dir cov-int make
11+
tar cvfz aprx-coverity.tgz cov-int
12+
rm -rf cov-int
13+
14+
VERSION="`cat VERSION`"
15+
PROJECT="Aprx"
16+
PASSWORD="`cat ~/.covpw`"
17+
18+
echo "Uploading Aprx version $VERSION to Coverity..."
19+
20+
curl --form [email protected] --form project="$PROJECT" \
21+
--form password="$PASSWORD" \
22+
23+
--form version="$VERSION" \
24+
--form description="" \
25+
http://scan5.coverity.com/cgi-bin/upload.py
26+
27+
rm -f aprx-coverity.tgz

0 commit comments

Comments
 (0)