mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
external: new subdirectory for all external libraries and submodules.
You will want to 'make distclean' after this. I also removed libsecp; we use the one in in libwally anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
c6976cd947
commit
f42f34b82d
17
external/libwally-core/tools/coverage.sh
vendored
Executable file
17
external/libwally-core/tools/coverage.sh
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#/bin/bash
|
||||
|
||||
# Helper to generate coverage reports.
|
||||
# ./tools/coverage.sh clean : Sets coverage stats to 0.
|
||||
# ./tools/coverage.sh : Calculates coverage stats, produces
|
||||
# src/lcov/index.html as output.
|
||||
|
||||
lcov="lcov --directory=src/ --base-directory src/"
|
||||
|
||||
if [ $1 = "clean" ]; then
|
||||
$lcov --zerocounters
|
||||
$lcov --output-file src/lcov_base --capture --initial
|
||||
else
|
||||
$lcov --output-file src/lcov_result --capture --ignore-errors=gcov
|
||||
$lcov --output-file src/lcov_total --add-tracefile src/lcov_base --add-tracefile src/lcov_result --ignore-errors=gcov
|
||||
genhtml --demangle-cpp -o src/lcov/ src/lcov_total
|
||||
fi
|
||||
Reference in New Issue
Block a user