.. 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.
11 lines
375 B
Bash
Executable file
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
|