[DHG_packages] 01/01: Revert previous change; instead, use libghc-setlocale-doc rather than libghc-void-doc for autopkgtests, since Data.Void is now in ghc.
Colin Watson
cjwatson at moszumanska.debian.org
Fri Jan 29 15:36:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
cjwatson pushed a commit to branch master
in repository DHG_packages.
commit 1970d8e6ff5d4dd64233b3b5b573092f3cb68ced
Author: Colin Watson <cjwatson at debian.org>
Date: Fri Jan 29 15:36:32 2016 +0000
Revert previous change; instead, use libghc-setlocale-doc rather than libghc-void-doc for autopkgtests, since Data.Void is now in ghc.
---
p/haskell-hoogle/debian/changelog | 7 +++++++
p/haskell-hoogle/debian/tests/control | 4 ++--
p/haskell-hoogle/debian/tests/install-remove | 14 +++++++-------
p/haskell-hoogle/debian/tests/setlocale | 7 +++++++
p/haskell-hoogle/debian/tests/void | 7 -------
5 files changed, 23 insertions(+), 16 deletions(-)
diff --git a/p/haskell-hoogle/debian/changelog b/p/haskell-hoogle/debian/changelog
index eb1e7ee..565bf5f 100644
--- a/p/haskell-hoogle/debian/changelog
+++ b/p/haskell-hoogle/debian/changelog
@@ -1,3 +1,10 @@
+haskell-hoogle (4.2.43-3) UNRELEASED; urgency=medium
+
+ * Revert previous change; instead, use libghc-setlocale-doc rather than
+ libghc-void-doc for autopkgtests, since Data.Void is now in ghc.
+
+ -- Colin Watson <cjwatson at debian.org> Fri, 29 Jan 2016 15:35:46 +0000
+
haskell-hoogle (4.2.43-2) unstable; urgency=medium
* Don't fail the install-remove autopkgtest if libghc-void-doc isn't
diff --git a/p/haskell-hoogle/debian/tests/control b/p/haskell-hoogle/debian/tests/control
index ddbb57d..2604b01 100644
--- a/p/haskell-hoogle/debian/tests/control
+++ b/p/haskell-hoogle/debian/tests/control
@@ -1,5 +1,5 @@
-Tests: void
-Depends: hoogle, libghc-void-doc
+Tests: setlocale
+Depends: hoogle, libghc-setlocale-doc
Restrictions: allow-stderr
Tests: install-remove
diff --git a/p/haskell-hoogle/debian/tests/install-remove b/p/haskell-hoogle/debian/tests/install-remove
index da604cb..bb8cfd9 100755
--- a/p/haskell-hoogle/debian/tests/install-remove
+++ b/p/haskell-hoogle/debian/tests/install-remove
@@ -2,14 +2,14 @@
set -e
-apt-get -y --purge remove libghc-void-doc || true
-ret="$(hoogle absurd)"
+apt-get -y --purge remove libghc-setlocale-doc
+ret="$(hoogle categoryToCInt)"
test "$ret" = "No results found"
-apt-get -y install libghc-void-doc
-ret="$(hoogle absurd)"
-test "$ret" = "Data.Void absurd :: Void -> a"
+apt-get -y install libghc-setlocale-doc
+ret="$(hoogle categoryToCInt)"
+test "$ret" = "System.Locale.SetLocale categoryToCInt :: Category -> CInt"
-apt-get -y --purge remove libghc-void-doc
-ret="$(hoogle absurd)"
+apt-get -y --purge remove libghc-setlocale-doc
+ret="$(hoogle categoryToCInt)"
test "$ret" = "No results found"
diff --git a/p/haskell-hoogle/debian/tests/setlocale b/p/haskell-hoogle/debian/tests/setlocale
new file mode 100755
index 0000000..7d29fc0
--- /dev/null
+++ b/p/haskell-hoogle/debian/tests/setlocale
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -e
+
+ret="$(hoogle categoryToCInt)"
+
+test "$ret" = "System.Locale.SetLocale categoryToCInt :: Category -> CInt"
diff --git a/p/haskell-hoogle/debian/tests/void b/p/haskell-hoogle/debian/tests/void
deleted file mode 100755
index bdc49ad..0000000
--- a/p/haskell-hoogle/debian/tests/void
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-set -e
-
-ret="$(hoogle absurd)"
-
-test "$ret" = "Data.Void absurd :: Void -> a"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list