[Pkg-haskell-commits] darcs: haskell-mwc-random: Enable test suite only on architectures with TH, due to statistics dependency.

Joachim Breitner mail at joachim-breitner.de
Mon Sep 15 14:00:24 UTC 2014


Mon Sep 15 13:58:27 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Enable test suite only on architectures with TH, due to statistics dependency.

    M ./changelog +7
    M ./control -6 +7
    M ./rules -1 +1

Mon Sep 15 13:58:27 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Enable test suite only on architectures with TH, due to statistics dependency.
diff -rN -u old-haskell-mwc-random/changelog new-haskell-mwc-random/changelog
--- old-haskell-mwc-random/changelog	2014-09-15 14:00:23.683827448 +0000
+++ new-haskell-mwc-random/changelog	2014-09-15 14:00:23.687827451 +0000
@@ -1,3 +1,10 @@
+haskell-mwc-random (0.13.1.2-3) UNRELEASED; urgency=medium
+
+  * Enable test suite only on architectures with TH, due to statistics
+    dependency.
+
+ -- Joachim Breitner <nomeata at debian.org>  Mon, 15 Sep 2014 15:57:45 +0200
+
 haskell-mwc-random (0.13.1.2-2) unstable; urgency=medium
 
   * New upstream release
diff -rN -u old-haskell-mwc-random/control new-haskell-mwc-random/control
--- old-haskell-mwc-random/control	2014-09-15 14:00:23.683827448 +0000
+++ new-haskell-mwc-random/control	2014-09-15 14:00:23.687827451 +0000
@@ -12,12 +12,13 @@
   , libghc-primitive-prof
   , libghc-vector-dev (>= 0.7)
   , libghc-vector-prof
-  , libghc-hunit-dev
-  , libghc-quickcheck2-dev
-  , libghc-statistics-dev (>= 0.10.1.0)
-  , libghc-test-framework-dev
-  , libghc-test-framework-hunit-dev
-  , libghc-test-framework-quickcheck2-dev
+# test suite dependencies
+  , libghc-hunit-dev [any-amd64 any-i386 powerpc sparc]
+  , libghc-quickcheck2-dev [any-amd64 any-i386 powerpc sparc]
+  , libghc-statistics-dev (>= 0.10.1.0) [any-amd64 any-i386 powerpc sparc]
+  , libghc-test-framework-dev [any-amd64 any-i386 powerpc sparc]
+  , libghc-test-framework-hunit-dev [any-amd64 any-i386 powerpc sparc]
+  , libghc-test-framework-quickcheck2-dev [any-amd64 any-i386 powerpc sparc]
 Build-Depends-Indep: ghc-doc
   , libghc-primitive-doc
   , libghc-vector-doc
diff -rN -u old-haskell-mwc-random/rules new-haskell-mwc-random/rules
--- old-haskell-mwc-random/rules	2014-09-15 14:00:23.683827448 +0000
+++ new-haskell-mwc-random/rules	2014-09-15 14:00:23.687827451 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-DEB_ENABLE_TESTS = yes
+DEB_ENABLE_TESTS = $(shell test -e /usr/lib/ghc/bin/ghci && echo yes)
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk




More information about the Pkg-haskell-commits mailing list