[Pkg-haskell-commits] darcs: haskell-http-client: Disable tests requiring external network resources; Ubuntu buildds aren't permitted to access these, and Debian buildds shouldn't rely on them.

Colin Watson cjwatson at debian.org
Mon Dec 30 16:25:38 UTC 2013


Mon Dec 30 16:18:15 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Disable tests requiring external network resources; Ubuntu buildds aren't permitted to access these, and Debian buildds shouldn't rely on them.

    M ./changelog +8
    A ./patches/
    A ./patches/disable-network-tests.patch
    A ./patches/series

Mon Dec 30 16:18:15 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Disable tests requiring external network resources; Ubuntu buildds aren't permitted to access these, and Debian buildds shouldn't rely on them.
diff -rN -u old-haskell-http-client/changelog new-haskell-http-client/changelog
--- old-haskell-http-client/changelog	2013-12-30 16:25:38.145122686 +0000
+++ new-haskell-http-client/changelog	2013-12-30 16:25:38.153122685 +0000
@@ -1,3 +1,11 @@
+haskell-http-client (0.2.0.1-2) UNRELEASED; urgency=medium
+
+  * Disable tests requiring external network resources; Ubuntu buildds
+    aren't permitted to access these, and Debian buildds shouldn't rely on
+    them.
+
+ -- Colin Watson <cjwatson at debian.org>  Mon, 30 Dec 2013 16:09:16 +0000
+
 haskell-http-client (0.2.0.1-1) unstable; urgency=low
 
   * Initial release.
diff -rN -u old-haskell-http-client/patches/disable-network-tests.patch new-haskell-http-client/patches/disable-network-tests.patch
--- old-haskell-http-client/patches/disable-network-tests.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-http-client/patches/disable-network-tests.patch	2013-12-30 16:25:38.149122685 +0000
@@ -0,0 +1,25 @@
+Description: Disable tests requiring external network resources
+ Ubuntu buildds aren't permitted to access these, and Debian buildds
+ shouldn't rely on them.
+Author: Colin Watson <cjwatson at debian.org>
+Forwarded: not-needed
+Last-Update: 2013-12-30
+
+Index: b/test/Spec.hs
+===================================================================
+--- a/test/Spec.hs
++++ b/test/Spec.hs
+@@ -2,11 +2,11 @@
+ import qualified Network.HTTP.Client.BodySpec as BodySpec
+ import qualified Network.HTTP.Client.HeadersSpec as HeadersSpec
+ import qualified Network.HTTP.Client.ResponseSpec as ResponseSpec
+-import qualified Network.HTTP.ClientSpec as ClientSpec
++-- import qualified Network.HTTP.ClientSpec as ClientSpec
+ 
+ main :: IO ()
+ main = hspec $ do
+     BodySpec.spec
+     HeadersSpec.spec
+     ResponseSpec.spec
+-    ClientSpec.spec
++    -- ClientSpec.spec
diff -rN -u old-haskell-http-client/patches/series new-haskell-http-client/patches/series
--- old-haskell-http-client/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-http-client/patches/series	2013-12-30 16:25:38.149122685 +0000
@@ -0,0 +1 @@
+disable-network-tests.patch




More information about the Pkg-haskell-commits mailing list