debian/tests/qdarkstyle-tests
raw| 1 | #!/bin/sh |
| 2 | set -e -u |
| 3 | |
| 4 | # Make the tests use the API specified |
| 5 | export QT_API=$1 |
| 6 | |
| 7 | # Unfortunately, we can only run this test using a local copy of |
| 8 | # qdarkstyle, as otherwise it attempts to write to |
| 9 | # /usr/lib/python3/dist-packages/qdarkstyle |
| 10 | for py in $(py3versions -s) |
| 11 | do |
| 12 | echo ">>>> Testing unit tests with $py:" |
| 13 | PYTHONPATH=. $py -m pytest test/test_sass_compiler.py |
| 14 | done |