Skip to content

Commit b18f57a

Browse files
MarkSymsCtxletsboogey
authored andcommitted
Track branch coverage and report on coverage at completion
From: Mark Syms <[email protected]>
1 parent 74e777e commit b18f57a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/run_python_unittests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ fi
1818
(
1919
cd "$SMROOT"
2020
PYTHONPATH="$SMROOT/drivers/" \
21-
coverage run $(which nosetests) \
21+
coverage run --branch $(which nosetests) \
2222
--with-xunit \
2323
--xunit-file=nosetests.xml \
2424
tests
2525
coverage xml --include "$SMROOT/drivers/*"
26+
coverage report --include="$SMROOT/drivers/*"
2627
)

0 commit comments

Comments
 (0)