| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# example_ files are generated in the build dir by the test run |
| 5 |
export PYBUILD_AFTER_TEST := rm {build_dir}/example_* |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --with python3 --buildsystem=pybuild |
| 9 |
|
| 10 |
# The gallery tests are not working, they rely on excluded blobs |
| 11 |
# See copyright Files-Excluded for the list of excluded blobs |
| 12 |
# Therefore, we exclude those tests from pytest execution |
| 13 |
override_dh_auto_test: |
| 14 |
dh_auto_test -- --test-args="--ignore tests/gallery/ --ignore tests/deprecated_gallery/" |