weblate/ci/lib
Michal Čihař 376d717632 Better path lookup
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-05-14 11:14:50 +02:00

16 lines
204 B
Text
Vendored

# shell library to help executing tests
set -x
coverage erase
check() {
RET=$?
if [ $RET -ne 0 ] ; then
exit $RET
fi
}
run_coverage() {
coverage run --source . --append "$@"
}