debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Flaky tests |
| 4 | SKIP = TestMkdirAllHandle_RacingRename|TestPartialLookup_RacingRename |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=golang --with=golang |
| 8 | |
| 9 | # don't fail tests on slow architectures |
| 10 | override_dh_auto_test: |
| 11 | ifeq (,$(filter $(DEB_HOST_ARCH), riscv64)) |
| 12 | dh_auto_test -- -timeout=20m -skip="$(SKIP)" |
| 13 | else |
| 14 | -dh_auto_test -- -timeout=20min -skip="$(SKIP)" |
| 15 | endif |