diff options
author | Colin Watson <cjwatson@debian.org> | 2013-12-30 20:18:15 +0400 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2013-12-30 20:18:15 +0400 |
commit | f96202ccbf4f72460f8e4abc100ca36e123c1be5 (patch) | |
tree | 449c20dc752d788048c2f5b8ef94b1a3b795659b | |
parent | d4d6afd48eac69fa47100571cce6ba632cdf48b2 (diff) | |
download | DHG_packages-f96202ccbf4f72460f8e4abc100ca36e123c1be5.tar.gz |
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.
-rw-r--r-- | p/haskell-http-client/debian/changelog | 8 | ||||
-rw-r--r-- | p/haskell-http-client/debian/patches/disable-network-tests.patch | 25 | ||||
-rw-r--r-- | p/haskell-http-client/debian/patches/series | 1 |
3 files changed, 34 insertions, 0 deletions
diff --git a/p/haskell-http-client/debian/changelog b/p/haskell-http-client/debian/changelog index 5d16ba25b..436cd2e87 100644 --- a/p/haskell-http-client/debian/changelog +++ b/p/haskell-http-client/debian/changelog @@ -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@debian.org> Mon, 30 Dec 2013 16:09:16 +0000 + haskell-http-client (0.2.0.1-1) unstable; urgency=low * Initial release. diff --git a/p/haskell-http-client/debian/patches/disable-network-tests.patch b/p/haskell-http-client/debian/patches/disable-network-tests.patch new file mode 100644 index 000000000..1e08dbd26 --- /dev/null +++ b/p/haskell-http-client/debian/patches/disable-network-tests.patch @@ -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@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 --git a/p/haskell-http-client/debian/patches/series b/p/haskell-http-client/debian/patches/series new file mode 100644 index 000000000..ac5717bb8 --- /dev/null +++ b/p/haskell-http-client/debian/patches/series @@ -0,0 +1 @@ +disable-network-tests.patch |