diff options
author | Jack Lloyd <[email protected]> | 2016-11-26 11:38:25 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-26 11:38:25 -0500 |
commit | 97829faaf53c51842c206963c00918423a0a0a5b (patch) | |
tree | a96b50305525233fdad14af98536fa8c4f28a72b | |
parent | 345f0881bc44b7a8344ea943e96b1dad4a8d484b (diff) |
Tweak lcov script
-rwxr-xr-x | src/scripts/lcov.sh | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/scripts/lcov.sh b/src/scripts/lcov.sh index f1340c787..8a79ebc7c 100755 --- a/src/scripts/lcov.sh +++ b/src/scripts/lcov.sh @@ -1,10 +1,13 @@ #!/bin/sh -./configure.py --with-debug-info --with-coverage-info --no-optimizations --with-bzip2 --with-lzma --with-sqlite --with-zlib --with-pkcs11 --with-openssl --with-sqlite3 +./configure.py --with-debug-info --with-coverage-info --with-bzip2 --with-lzma --with-sqlite --with-zlib --with-pkcs11 --with-openssl --with-sqlite3 -make -l4 -j8 -k -./botan-test --pkcs11-lib=/usr/lib/libsofthsm2.so +make -l2 -j4 -k +./botan-test --pkcs11-lib=/usr/lib/libsofthsm2.so --run-online-tests -lcov --rc lcov_branch_coverage=1 --capture --directory . --output-file coverage.info.raw -lcov --remove coverage.info.raw '/usr/*' --output-file coverage.info -genhtml --rc lcov_branch_coverage=1 coverage.info --output-directory lcov-out +#LCOV_OPTIONS="--rc lcov_branch_coverage=1" +LCOV_OPTIONS="" + +lcov $LCOV_OPTIONS --capture --directory . --output-file coverage.info.raw +lcov $LCOV_OPTIONS --remove coverage.info.raw '/usr/*' --output-file coverage.info +genhtml $LCOV_OPTIONS coverage.info --output-directory lcov-out |