diff options
author | Jack Lloyd <[email protected]> | 2016-11-26 06:05:34 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-26 06:08:05 -0500 |
commit | d695dfadc0daf8290d344f82697d456fd011d153 (patch) | |
tree | 9cb0b623f8ecfa8076ab5a8c04622a161e5bdbfc /src/scripts/ci/travis | |
parent | f397471782357aa57b55cf8d3ec5c3018e9b0aaf (diff) |
Add script for running lcov report
Add configure.py option --with-coverage-info which enables coverage but
does not disable optimizations. Changes the scripts to use
--with-coverage-info --no-optimization which is the same behavior as
--with-coverage except explicit about what is happening.
[ci skip]
Diffstat (limited to 'src/scripts/ci/travis')
-rwxr-xr-x | src/scripts/ci/travis/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/ci/travis/build.sh b/src/scripts/ci/travis/build.sh index 336d2c629..5fb6bec2d 100755 --- a/src/scripts/ci/travis/build.sh +++ b/src/scripts/ci/travis/build.sh @@ -32,7 +32,7 @@ elif [ "$BUILD_MODE" = "parallel" ]; then fi elif [ "$BUILD_MODE" = "coverage" ]; then - CFG_FLAGS+=(--with-coverage) + CFG_FLAGS+=(--with-coverage --no-optimizations) elif [ "$BUILD_MODE" = "sanitizer" ]; then export ASAN_OPTIONS=detect_leaks=0 CFG_FLAGS+=(--with-sanitizers --disable-modules=locking_allocator) |