From 97829faaf53c51842c206963c00918423a0a0a5b Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 26 Nov 2016 11:38:25 -0500 Subject: Tweak lcov script --- src/scripts/lcov.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/scripts/lcov.sh') 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 -- cgit v1.2.3