| 1 | #!/usr/bin/make -f |
| 2 | DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) |
| 3 | |
| 4 | BASE_TEST_EXCLUSIONS = not exchange_calendars.utils.pandas_utils.indexes_union |
| 5 | |
| 6 | ifeq ($(DEB_HOST_ARCH),riscv64) |
| 7 | # Skip minute-resolution tests on riscv64: they run 4x via all_calendars_with_answers |
| 8 | # (parameterized by side: both/left/right/neither) and cause the test suite to |
| 9 | # time out. Non-minute tests are retained for functional coverage. |
| 10 | export PYBUILD_TEST_ARGS=-k "$(BASE_TEST_EXCLUSIONS) and not minute" |
| 11 | else |
| 12 | export PYBUILD_TEST_ARGS=-k "$(BASE_TEST_EXCLUSIONS)" |
| 13 | endif |
| 14 | |
| 15 | %: |
| 16 | dh $@ --buildsystem=pybuild |