forked from OLSR/olsrd
-
Notifications
You must be signed in to change notification settings - Fork 5
/
COVERITY
32 lines (26 loc) · 1.08 KB
/
COVERITY
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
28
29
30
31
32
Building for a Coverity scan:
Setting up you build tooling:
=============================
1. Go to http://scan.coverity.com/self-build/ and follow the 'Do once'
instructions.
1. Download and extract the tarball relevant to your system.
2. Add the (extracted) bin directory to your path
Building:
=========
Make sure to be in the directory of the source tree (we assume a git checkout
in this description), and run the following commands:
ccache -C
git clean -fdx
git reset --hard
cov-build --dir cov-int make DESTDIR="$(pwd)/dist" build_all install_all
tar czf "$(pwd)/dist/olsr.tgz" cov-int
Lookup the following data:
1. the (Coverity) project USERNAME
2. the (Coverity) project PASSWORD
3. your EMAIL address on which you want to receive an analysis confirmation
Now upload the build (you will need the project USERNAME and PASSWORD for this):
curl --form file="@$(pwd)/dist/olsr.tgz" \
--form project=USERNAME \
--form password=PASSWORD \
--form email=EMAIL \
http://scan5.coverity.com/cgi-bin/upload.py