[DHG_packages] 01/01: snap: patch testsuite to not use test-framework-smallcheck

Clint Adams clint at moszumanska.debian.org
Fri Jul 21 14:24:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

clint pushed a commit to branch master
in repository DHG_packages.

commit 5db8ebbc1deb7c1c0a995229c035973f11327325
Author: Clint Adams <clint at debian.org>
Date:   Fri Jul 21 10:23:13 2017 -0400

    snap: patch testsuite to not use test-framework-smallcheck
---
 p/haskell-snap/debian/changelog                    |  6 +++++
 p/haskell-snap/debian/control                      |  2 --
 .../debian/patches/no-test-framework-smallcheck    | 29 ++++++++++++++++++++++
 p/haskell-snap/debian/patches/series               |  1 +
 4 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/p/haskell-snap/debian/changelog b/p/haskell-snap/debian/changelog
index 1fa0a63..ec280b7 100644
--- a/p/haskell-snap/debian/changelog
+++ b/p/haskell-snap/debian/changelog
@@ -1,3 +1,9 @@
+haskell-snap (1.0.0.1-8) unstable; urgency=medium
+
+  * Patch testsuite to not use test-framework-smallcheck.
+
+ -- Clint Adams <clint at debian.org>  Fri, 21 Jul 2017 10:18:26 -0400
+
 haskell-snap (1.0.0.1-7) unstable; urgency=medium
 
   * Patch for newer lens, aeson, HUnit, QuickCheck.  closes: #868866.
diff --git a/p/haskell-snap/debian/control b/p/haskell-snap/debian/control
index 24ac4c8..f7233a1 100644
--- a/p/haskell-snap/debian/control
+++ b/p/haskell-snap/debian/control
@@ -98,8 +98,6 @@ Build-Depends:
  libghc-test-framework-hunit-dev (<< 0.4) <!nocheck>,
  libghc-test-framework-quickcheck2-dev (>= 0.3.0.3) <!nocheck>,
  libghc-test-framework-quickcheck2-dev (<< 0.4) <!nocheck>,
- libghc-test-framework-smallcheck-dev (>= 0.2) <!nocheck>,
- libghc-test-framework-smallcheck-dev (<< 0.3) <!nocheck>,
 Build-Depends-Indep:
  ghc-doc,
  libghc-aeson-doc,
diff --git a/p/haskell-snap/debian/patches/no-test-framework-smallcheck b/p/haskell-snap/debian/patches/no-test-framework-smallcheck
new file mode 100644
index 0000000..bc702db
--- /dev/null
+++ b/p/haskell-snap/debian/patches/no-test-framework-smallcheck
@@ -0,0 +1,29 @@
+--- a/snap.cabal
++++ b/snap.cabal
+@@ -255,7 +255,6 @@
+     test-framework             >= 0.8.0.3  && < 0.9,
+     test-framework-hunit       >= 0.3.0.1  && < 0.4,
+     test-framework-quickcheck2 >= 0.3.0.3  && < 0.4,
+-    test-framework-smallcheck  >= 0.2      && < 0.3,
+     text,
+     time,
+     transformers,
+--- a/test/suite/Snap/Snaplet/Internal/Tests.hs
++++ b/test/suite/Snap/Snaplet/Internal/Tests.hs
+@@ -16,7 +16,6 @@
+ import           System.Directory                    (getCurrentDirectory)
+ import           Test.Framework                      (Test, testGroup)
+ import           Test.Framework.Providers.HUnit      (testCase)
+-import           Test.Framework.Providers.SmallCheck (testProperty)
+ import           Test.HUnit                          hiding (Test, path)
+ import           Test.SmallCheck                     ((==>))
+ ------------------------------------------------------------------------------
+@@ -124,7 +123,7 @@
+ tests :: Test
+ tests = testGroup "Snap.Snaplet.Internal"
+     [ testCase "initializer tests" initTest
+-    , testProperty "buildPath generates no double slashes" doubleSlashes
++--    , testProperty "buildPath generates no double slashes" doubleSlashes
+     ]
+ 
+ --doubleSlashes :: Monad m => [String] -> Property m
diff --git a/p/haskell-snap/debian/patches/series b/p/haskell-snap/debian/patches/series
index e4ab113..79bee1f 100644
--- a/p/haskell-snap/debian/patches/series
+++ b/p/haskell-snap/debian/patches/series
@@ -1,2 +1,3 @@
 rename-snap-binary
 newer-metadata-from-hackage
+no-test-framework-smallcheck

-- 
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