Debian Codegraph @

debian/tests/unittests

raw
1 #!/usr/bin/env sh
2
3 dpkgarch=$(dpkg --print-architecture)
4
5 MIN_COVERAGE=86
6 cp -r tests $AUTOPKGTEST_TMP
7 cd $AUTOPKGTEST_TMP
8 if [ "$dpkgarch" = i386 ]; then
9 python3 -m pytest --cov=pillowfight --cov-report=term-missing --cov-fail-under=$MIN_COVERAGE --cov-branch -k "not test_all_2 and not test_swt2" tests/*.py
10 else
11 python3 -m pytest --cov=pillowfight --cov-report=term-missing --cov-fail-under=$MIN_COVERAGE --cov-branch tests/*.py
12 fi