[Pkg-haskell-commits] darcs: haskell-unix-time: Only enable tests on architectures with GHCi, due to use of Template Haskell.

Colin Watson cjwatson at debian.org
Sat Jun 15 00:41:28 UTC 2013


Sat Jun 15 00:41:17 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Only enable tests on architectures with GHCi, due to use of Template Haskell.

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

Sat Jun 15 00:41:17 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Only enable tests on architectures with GHCi, due to use of Template Haskell.
diff -rN -u old-haskell-unix-time/changelog new-haskell-unix-time/changelog
--- old-haskell-unix-time/changelog	2013-06-15 00:41:28.183039643 +0000
+++ new-haskell-unix-time/changelog	2013-06-15 00:41:28.187039291 +0000
@@ -1,3 +1,10 @@
+haskell-unix-time (0.1.2-4) UNRELEASED; urgency=low
+
+  * Only enable tests on architectures with GHCi, due to use of Template
+    Haskell.
+
+ -- Colin Watson <cjwatson at debian.org>  Sat, 15 Jun 2013 01:40:45 +0100
+
 haskell-unix-time (0.1.2-3) unstable; urgency=low
 
   * Enable compat level 9
diff -rN -u old-haskell-unix-time/control new-haskell-unix-time/control
--- old-haskell-unix-time/control	2013-06-15 00:41:28.183039643 +0000
+++ new-haskell-unix-time/control	2013-06-15 00:41:28.187039291 +0000
@@ -8,9 +8,9 @@
              , cdbs
              , ghc
              , ghc-prof
-             , libghc-hspec-expectations-dev
-             , libghc-test-framework-hunit-dev
-             , libghc-test-framework-th-prime-dev
+             , libghc-hspec-expectations-dev [any-amd64 any-i386 powerpc sparc]
+             , libghc-test-framework-hunit-dev [any-amd64 any-i386 powerpc sparc]
+             , libghc-test-framework-th-prime-dev [any-amd64 any-i386 powerpc sparc]
 Build-Depends-Indep: ghc-doc
 Standards-Version: 3.9.4
 Homepage: http://hackage.haskell.org/package/unix-time
diff -rN -u old-haskell-unix-time/rules new-haskell-unix-time/rules
--- old-haskell-unix-time/rules	2013-06-15 00:41:28.183039643 +0000
+++ new-haskell-unix-time/rules	2013-06-15 00:41:28.191038084 +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)
 
 # the test suite assumes it's being run under Japan Standard Time
 export TZ = Etc/GMT-9




More information about the Pkg-haskell-commits mailing list