mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-05-03 10:29:08 +08:00
These are too noisy and usually out of our control, typically these are produced by httpretty and selenium. Signed-off-by: Michal Čihař <michal@cihar.com>
16 lines
260 B
Text
16 lines
260 B
Text
# shell library to help executing tests
|
|
|
|
set -x
|
|
coverage erase
|
|
|
|
check() {
|
|
RET=$?
|
|
if [ $RET -ne 0 ] ; then
|
|
exit $RET
|
|
fi
|
|
}
|
|
|
|
run_coverage() {
|
|
python -W default -W ignore:unclosed:ResourceWarning -m coverage run --source . --append "$@"
|
|
}
|
|
|