Add -O0 for coverage run to hopefully get better data.

pull/13171/head
Josh Haberman 10 years ago
parent 1988a660f4
commit 51513c6e7f
  1. 2
      travis.sh

@ -57,7 +57,7 @@ coverage_install() {
} }
coverage_script() { coverage_script() {
make -j12 tests googlepbtests testlua WITH_JIT=yes \ make -j12 tests googlepbtests testlua WITH_JIT=yes \
USER_CPPFLAGS="--coverage `pkg-config lua5.2 --cflags`" USER_CPPFLAGS="--coverage -O0 `pkg-config lua5.2 --cflags`"
make test make test
} }
coverage_after_success() { coverage_after_success() {

Loading…
Cancel
Save