summaryrefslogtreecommitdiff
path: root/scripts/coverage
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2026-08-26 20:13:28 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2026-08-26 20:13:28 +0300
commit6839e8e0f6d6c571c3708cd2473a8fc47ffb472c (patch)
treed235eb03c2dd2e73a69ab920bce891cbef8a1cf6 /scripts/coverage
parent27aa9e5d0eef9f9508163ae7aee8404a1be50a17 (diff)
downloadconts-6839e8e0f6d6c571c3708cd2473a8fc47ffb472c.tar.gz
conts-6839e8e0f6d6c571c3708cd2473a8fc47ffb472c.zip
allow passing make rules to coverage
+ Previously would force run 'check', but that's not particularly helpful if one testcase is failing while you're trying to debug another one.
Diffstat (limited to 'scripts/coverage')
-rwxr-xr-xscripts/coverage2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coverage b/scripts/coverage
index 6afc069..6778a93 100755
--- a/scripts/coverage
+++ b/scripts/coverage
@@ -25,7 +25,7 @@ interrupt () {
./deps/covsrv/build/covsrv &
# run tests, pass any flags like -j to make
-make COVERAGEFLAGS="--coverage -DCOVERAGE=1" check "$@"
+make COVERAGEFLAGS="--coverage -DCOVERAGE=1" "$@"
mkdir -p coverage
lcov --capture --directory . --out coverage/covsrv.info