poc/do-coverage.sh
Jeff Epler db5b15bfc4 Major rewrite: switch from occmodel to pythonocc-core + vtk
.. this requires reverting to python2 due to lack of python3
vtk packages in debian stretch.

pythonocc-core is much more verbose, but it exposes the whole
oce API to Python, which means that I'm not stuck when I want
to expose something not in occmodel.  I hope that it's a better
way forward.
2017-08-11 21:35:32 -05:00

11 lines
375 B
Bash
Executable file

#!/bin/bash
set -eo pipefail
python-coverage erase
python-coverage run ./poc || true
find examples -name \*.poc -print0 | xargs -0n1 -P`getconf _NPROCESSORS_ONLN` python-coverage run -p ./poc
#for i in examples/*.poc; do
# echo $i
# python-coverage run -a ./poc $i || exit $?
#done
python-coverage combine -a .coverage.*
python-coverage report -m --include poctools.py