Debian Codegraph @

debian/tests/qtawesome-tests

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 set -e -u
3
4 # Make the tests use the API specified
5 export QT_API=$1
6 export PYTEST_QT_API=$1
7
8 cpscip-shell system . . cp. -a example.py qtawesome/tests "$AUTOPKGTEST_TMP"
9 cd "$AUTOPKGTEST_TMP"
10
11 for py in $(py3versionsscip-shell system . . py3versions. -s)
12 do
13 echoscip-shell system . . echo. ">>>> Testing unit tests with $py:"
14 $py -m pytest tests
15 # example.py, and so probably qtawesome itself, is currently broken:
16 # see https://github.com/spyder-ide/qtawesome/issues/284
17 # echo ">>>> Running example.py with $py:"
18 # xvfb-run -a -s "-screen 0 1024x768x24 +extension GLX" $py example.py
19 done