aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/lcov.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/lcov.sh')
-rwxr-xr-xsrc/scripts/lcov.sh3
1 files changed, 2 insertions, 1 deletions
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