Merge "Add coverage erase
to the cover report"
This commit is contained in:
commit
0dc2850cce
@ -33,6 +33,9 @@ baseline_missing=$(awk 'END { print $3 }' $baseline_report)
|
|||||||
git checkout -
|
git checkout -
|
||||||
[[ -n $uncommitted ]] && git stash pop > /dev/null
|
[[ -n $uncommitted ]] && git stash pop > /dev/null
|
||||||
|
|
||||||
|
# Erase previously collected coverage data.
|
||||||
|
coverage erase;
|
||||||
|
|
||||||
# Generate and save coverage report
|
# Generate and save coverage report
|
||||||
current_report=$(mktemp -t mistral_coverageXXXXXXX)
|
current_report=$(mktemp -t mistral_coverageXXXXXXX)
|
||||||
find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --testr-args="$*"
|
find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --testr-args="$*"
|
||||||
|
Loading…
Reference in New Issue
Block a user