debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_ENABLE_TESTS = no # Depends on broken snap-server |
| 4 | |
| 5 | # Disable doctests since they require network access |
| 6 | export DEB_SETUP_GHC_CONFIGURE_ARGS += -f-doctest |
| 7 | |
| 8 | # Disable tests on s390x. They fail randomly with: |
| 9 | # InternalException Network.Socket.recvBuf: resource vanished (Connection reset by peer) |
| 10 | ifneq (,$(filter s390x, $(DEB_HOST_ARCH))) |
| 11 | export DEB_ENABLE_TESTS = no |
| 12 | endif |
| 13 | |
| 14 | %: |
| 15 | dh $@ |