diff options
| author | peter <peter@pmikkelsen.com> | 2026-08-20 20:54:43 +0000 |
|---|---|---|
| committer | peter <peter@pmikkelsen.com> | 2026-08-20 20:54:43 +0000 |
| commit | 86feda786f115cb4468957f00b8968b986ed7c54 (patch) | |
| tree | 31228cf73674178764cd6376d483e76212181707 /tools | |
| parent | f5d445afa10ed7ba03b0ea9a5274f11904220700 (diff) | |
Get full coverage of aplwc-repl.
This required wrapping malloc so that it can fail under our control.
FossilOrigin-Name: a27ccb5f02994393a518419bae15fd26ff0016c734d96350ae2137a1d3c0937c
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/checkcov | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/checkcov b/tools/checkcov index 32e30d7..3d9fedf 100755 --- a/tools/checkcov +++ b/tools/checkcov @@ -4,8 +4,8 @@ cd build/$1 case "$1" in Coverage) - rm -rf CMakeFiles/aplwc.dir/src/* - rm -rf CMakeFiles/aplwc-repl.dir/src/* + rm -rf CMakeFiles/aplwc.dir/src/lib/* + rm -rf CMakeFiles/aplwc-repl.dir/src/bin/* ;; *) ;; @@ -22,7 +22,7 @@ case "$1" in ;; esac -gcov -tg CMakeFiles/aplwc.dir/src/*.gcno CMakeFiles/aplwc-repl.dir/src/*.gcno | awk ' +gcov -tg CMakeFiles/aplwc.dir/src/lib/*.gcno CMakeFiles/aplwc-repl.dir/src/bin/*.gcno | awk ' BEGIN { FS=":" } |