[Pkg-haskell-commits] darcs: haskell-lens: Disable the hunit and properties test suites on sparc, since they require SMP support via the RTS -N option.
Colin Watson
cjwatson at debian.org
Mon Jun 17 20:34:16 UTC 2013
Mon Jun 17 20:34:13 UTC 2013 Colin Watson <cjwatson at debian.org>
* Disable the hunit and properties test suites on sparc, since they require SMP support via the RTS -N option.
M ./changelog +2
M ./rules +6
Mon Jun 17 20:34:13 UTC 2013 Colin Watson <cjwatson at debian.org>
* Disable the hunit and properties test suites on sparc, since they require SMP support via the RTS -N option.
diff -rN -u old-haskell-lens/changelog new-haskell-lens/changelog
--- old-haskell-lens/changelog 2013-06-17 20:34:16.623348122 +0000
+++ new-haskell-lens/changelog 2013-06-17 20:34:16.627347317 +0000
@@ -2,6 +2,8 @@
* Disable an unreliable test that fails on hurd-i386 and kfreebsd-i386 due
to slight differences in floating-point representation.
+ * Disable the hunit and properties test suites on sparc, since they
+ require SMP support via the RTS -N option.
-- Colin Watson <cjwatson at debian.org> Mon, 17 Jun 2013 21:29:20 +0100
diff -rN -u old-haskell-lens/rules new-haskell-lens/rules
--- old-haskell-lens/rules 2013-06-17 20:34:16.595132795 +0000
+++ new-haskell-lens/rules 2013-06-17 20:34:16.631053947 +0000
@@ -2,5 +2,11 @@
DEB_ENABLE_TESTS = $(shell test -e /usr/lib/ghc/libHSrts_thr.a && echo yes)
+include /usr/share/cdbs/1/rules/buildvars.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
+
+ifeq ($(DEB_HOST_ARCH),sparc)
+ # Disable tests that require SMP.
+ DEB_SETUP_GHC_CONFIGURE_ARGS := -f-test-hunit -f-test-properties
+endif
More information about the Pkg-haskell-commits
mailing list