File: COVERITY

package info (click to toggle)
olsrd 0.6.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 11,824 kB
  • ctags: 6,779
  • sloc: ansic: 50,057; cpp: 2,715; makefile: 1,733; sh: 1,428; yacc: 1,382; pascal: 320; perl: 169; java: 100; xml: 68
file content (32 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download
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