From 5e6217d14f1b6bddf9f31a66a577b17120ae7e8f Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 27 Nov 2016 15:43:25 -0500 Subject: Tweak lcov script [ci skip] --- src/scripts/lcov.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/scripts/lcov.sh b/src/scripts/lcov.sh index 8a79ebc7c..1068b21aa 100755 --- a/src/scripts/lcov.sh +++ b/src/scripts/lcov.sh @@ -2,12 +2,13 @@ ./configure.py --with-debug-info --with-coverage-info --with-bzip2 --with-lzma --with-sqlite --with-zlib --with-pkcs11 --with-openssl --with-sqlite3 -make -l2 -j4 -k +make -l4 -j$(nproc) -k ./botan-test --pkcs11-lib=/usr/lib/libsofthsm2.so --run-online-tests #LCOV_OPTIONS="--rc lcov_branch_coverage=1" LCOV_OPTIONS="" +rm -f coverage.info coverage.info.raw 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