Run code coverage tests without optimizations
This way the code coverage results also include code paths that are optimized out by the compiler at higher optimization levels.
This commit is contained in:
parent
533f47f4c6
commit
1831e9d015
@ -23,7 +23,9 @@ before_install:
|
|||||||
- pip install --user cpp-coveralls
|
- pip install --user cpp-coveralls
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- CFLAGS="-fprofile-arcs -ftest-coverage -Werror" make all dunstify test-valgrind doc-doxygen
|
- CFLAGS="-Werror" make all dunstify test-valgrind doc-doxygen
|
||||||
|
- make clean
|
||||||
|
- CFLAGS="-Werror -fprofile-arcs -ftest-coverage -O0" make test
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user