1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

tests/run-tests: silence err_handler output

This commit is contained in:
Hans-Christoph Steiner 2023-02-19 13:16:35 +01:00
parent 5e812a4af7
commit 9e9c909380

View File

@ -82,11 +82,13 @@ exit(c.get('apksigner') is None)
err_handler() {
# remove this to prevent git conflicts and complaining
set +x
rm -rf "$WORKSPACE"/fdroidserver.egg-info/
rm -rf "$WORKSPACE"/.testfiles/run-tests.*
rm -rf "$WORKSPACE"/.testfiles/test_*
rm -f "$WORKSPACE"/.testfiles/tmp.*
rmdir --ignore-fail-on-non-empty "$WORKSPACE"/.testfiles
test -d "$WORKSPACE"/.testfiles && \
rmdir --ignore-fail-on-non-empty "$WORKSPACE"/.testfiles
}
trap err_handler INT EXIT