aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-27 15:43:25 -0500
committerJack Lloyd <[email protected]>2016-11-27 15:43:25 -0500
commit5e6217d14f1b6bddf9f31a66a577b17120ae7e8f (patch)
treeb03d40f36218fb586651defb755236d2e9814483 /src
parent6fd3d3f978021e2c2cefacca294ece15056e210d (diff)
Tweak lcov script [ci skip]
Diffstat (limited to 'src')
-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