[Git][haskell-team/DHG_packages][master] monad-par: patch testsuite to work with newer GHC
Clint Adams
gitlab at salsa.debian.org
Sat Aug 31 19:10:30 BST 2019
Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
ecfe2b43 by Clint Adams at 2019-08-31T18:09:53Z
monad-par: patch testsuite to work with newer GHC
- - - - -
3 changed files:
- p/haskell-monad-par/debian/changelog
- + p/haskell-monad-par/debian/patches/fix-testsuite
- + p/haskell-monad-par/debian/patches/series
Changes:
=====================================
p/haskell-monad-par/debian/changelog
=====================================
@@ -1,8 +1,12 @@
-haskell-monad-par (0.3.4.8-7) UNRELEASED; urgency=medium
+haskell-monad-par (0.3.4.8-7) unstable; urgency=medium
+ [ Dmitry Bogatov ]
* Add missing "Upstream-Name" field into "debian/copyright".
- -- Dmitry Bogatov <KAction at debian.org> Thu, 16 May 2019 14:24:19 +0000
+ [ Clint Adams ]
+ * Patch testsuite to work with newer GHC.
+
+ -- Clint Adams <clint at debian.org> Sat, 31 Aug 2019 14:05:20 -0400
haskell-monad-par (0.3.4.8-6) unstable; urgency=medium
=====================================
p/haskell-monad-par/debian/patches/fix-testsuite
=====================================
@@ -0,0 +1,24 @@
+--- a/tests/ParTests_shared.hs
++++ b/tests/ParTests_shared.hs
+@@ -85,12 +85,15 @@
+ case_test_diamond = 9 @=? (m :: Int)
+ where
+ m = runPar $ do
+- [a,b,c,d] <- sequence [new,new,new,new]
+- fork $ do x <- get a; put b (x+1)
+- fork $ do x <- get a; put c (x+2)
+- fork $ do x <- get b; y <- get c; put d (x+y)
+- fork $ do put a 3
+- get d
++ abcd <- sequence [new,new,new,new]
++ case abcd of
++ [a,b,c,d] -> do
++ fork $ do x <- get a; put b (x+1)
++ fork $ do x <- get a; put c (x+2)
++ fork $ do x <- get b; y <- get c; put d (x+y)
++ fork $ do put a 3
++ get d
++ _ -> error "Oops"
+
+ -- | Violate IVar single-assignment:
+ --
=====================================
p/haskell-monad-par/debian/patches/series
=====================================
@@ -0,0 +1 @@
+fix-testsuite
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/ecfe2b4390e1353cd95d5e1e1de51c5505f9f90c
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/ecfe2b4390e1353cd95d5e1e1de51c5505f9f90c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20190831/9955bb79/attachment-0001.html>
More information about the Pkg-haskell-commits
mailing list