[Pkg-haskell-commits] darcs: haskell-optparse-applicative: Only enable tests if GHCi is available.

Colin Watson cjwatson at debian.org
Mon Apr 15 19:48:52 UTC 2013


Mon Apr 15 19:48:09 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Only enable tests if GHCi is available.
  Ignore-this: c313d4ba5eb82aacc11b6f2421902b61

    M ./changelog +6
    M ./rules +2

Mon Apr 15 19:48:09 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Only enable tests if GHCi is available.
  Ignore-this: c313d4ba5eb82aacc11b6f2421902b61
diff -rN -u old-haskell-optparse-applicative//changelog new-haskell-optparse-applicative//changelog
--- old-haskell-optparse-applicative//changelog	2013-04-15 19:48:52.229701603 +0000
+++ new-haskell-optparse-applicative//changelog	2013-04-15 19:48:52.229701603 +0000
@@ -1,3 +1,9 @@
+haskell-optparse-applicative (0.4.1-2) UNRELEASED; urgency=low
+
+  * Only enable tests if GHCi is available.
+
+ -- Colin Watson <cjwatson at debian.org>  Mon, 15 Apr 2013 18:18:38 +0100
+
 haskell-optparse-applicative (0.4.1-1) experimental; urgency=low
 
   * Initial release.
diff -rN -u old-haskell-optparse-applicative//rules new-haskell-optparse-applicative//rules
--- old-haskell-optparse-applicative//rules	2013-04-15 19:48:52.211069611 +0000
+++ new-haskell-optparse-applicative//rules	2013-04-15 19:48:52.235077224 +0000
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
+ifeq (0,$(shell ghc --info | grep 'Have interpreter.*YES' >/dev/null 2>&1; echo $$?))
 DEB_ENABLE_TESTS = yes
+endif
 
 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