Skip to content

Commit c31da14

Browse files
committed
Update coverity instructions
1 parent 451359f commit c31da14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.developers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@ To submit a build to coverity do the following:
115115

116116
1. [Download](https://scan.coverity.com/download) the coverity build tool
117117

118-
2. Configure VTR to perform a *debug* build. This ensures that all assertions are enabled, without assertions coverity may report bugs that are gaurded against by assertions.
118+
2. Configure VTR to perform a *debug* build. This ensures that all assertions are enabled, without assertions coverity may report bugs that are gaurded against by assertions. We also set VTR asserts to the highest level.
119119

120120
```shell
121121
#From the VTR root
122122
mkdir -p build
123123
cd build
124-
CC=gcc CXX=g++ cmake -DCMAKE_BUILD_TYPE=debug ..
124+
CC=gcc CXX=g++ cmake -DCMAKE_BUILD_TYPE=debug -DVTR_ASSERT_LEVEL=3 ..
125125
```
126126

127127
Note that we explicitly asked for gcc and g++, the coverity build tool defaults to these compilers, and may not like the default 'cc' or 'c++' (even if they are linked to gcc/g++).
@@ -136,7 +136,7 @@ Note that we explicitly asked for gcc and g++, the coverity build tool defaults
136136
4. Archive the output directory
137137

138138
```shell
139-
tar -czvf cov-int vtr_coverity.tar.gz
139+
tar -czvf vtr_coverity.tar.gz cov-int
140140
```
141141

142142
5. Submit the archive through the coverity web interface

0 commit comments

Comments
 (0)