Skip to content

Commit

Permalink
Add script to get a combined coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Aug 18, 2016
1 parent 8d4ee2e commit 8e0758b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

./run_wine.sh 2.7.12 -m coverage run --include "senf\\*" setup.py test
sed -i -e 's/Z://g' .coverage
sed -i -e 's/\\\\/\//g' .coverage
mv .coverage .coverage.win.py2

./run_wine.sh 3.4.4 -m coverage run --include "senf\\*" setup.py test
sed -i -e 's/Z://g' .coverage
sed -i -e 's/\\\\/\//g' .coverage
mv .coverage .coverage.win.py3

python-coverage run --include "senf/*" setup.py test
mv .coverage .coverage.unix.py2

python3-coverage run --include "senf/*" setup.py test
mv .coverage .coverage.unix.py3

python-coverage combine
python-coverage html -d coverage

0 comments on commit 8e0758b

Please sign in to comment.