Skip to content

Commit bb331cf

Browse files
committed
Pass arguments to flint.test in bin/coverage.sh
1 parent b2ebde3 commit bb331cf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

bin/coverage.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@
88
#
99
# https://github.com/cython/cython/pull/6341
1010
#
11+
# Arguments to this script are passed to python -m flint.test e.g. to skip
12+
# doctests and run in quiet mode:
13+
#
14+
# bin/coverage.sh -qt
15+
#
1116
set -o errexit
1217

1318
meson setup build -Dcoverage=true
14-
spin run -- coverage run -m flint.test
15-
coverage report -m
19+
spin run -- coverage run -m flint.test $@
20+
coverage report -m --sort=cover
1621
coverage html

0 commit comments

Comments
 (0)