Newer
Older
set -e
COV_PKG_OPTIONS="--cov hgext3rd --cov hgitaly"
if test -n "$GITALY_INSTALL_DIR"; then
COV_PKG_OPTIONS="$COV_PKG_OPTIONS --cov tests_with_gitaly"
fi
pytest --doctest-modules \
$COV_PKG_OPTIONS \
--cov-config=.coveragerc \
--cov-fail-under 100 \
-v $@