File: rules

package info (click to toggle)
haskell-wreq 0.5.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 384 kB
  • sloc: haskell: 2,964; makefile: 27
file content (17 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DEB_ENABLE_TESTS = yes
DEB_CABAL_PACKAGE = wreq
DEB_DEFAULT_COMPILER = ghc

# Disable doctests since they require network access
DEB_SETUP_GHC_CONFIGURE_ARGS += -f-doctest

# Disable tests on s390x. They fail randomly with:
# InternalException Network.Socket.recvBuf: resource vanished (Connection reset by peer)
ifneq (,$(filter s390x, $(DEB_HOST_ARCH)))
	DEB_ENABLE_TESTS = no
endif

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk