mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
tests/run-tests: silence err_handler output
This commit is contained in:
parent
5e812a4af7
commit
9e9c909380
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue