[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
161/272: gnu: ghc-attoparsec: Enable tests and allow newer QuickCheck.
From: |
Ricardo Wurmus |
Subject: |
161/272: gnu: ghc-attoparsec: Enable tests and allow newer QuickCheck. |
Date: |
Mon, 1 Oct 2018 06:13:38 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 0f9e74e9f7bef9157c7869cd9cb6ed50a8364e2d
Author: Timothy Sample <address@hidden>
Date: Thu Aug 30 11:39:41 2018 -0400
gnu: ghc-attoparsec: Enable tests and allow newer QuickCheck.
* gnu/packages/haskell.scm (ghc-attoparsec)[arguments]: Enable tests and
add a phase that patches the Cabal file to allow a newer QuickCheck and
removes a failing test.
---
gnu/packages/haskell.scm | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 7c5fef6..5c1bb6f 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2909,10 +2909,19 @@ with slicing and Clang-style colored diagnostics.")
(base32
"0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx"))))
(build-system haskell-build-system)
- ;; FIXME: at least on test fails with QuickCheck > 2.9.2. Once upstream
- ;; has updated the tests to work with a later version of QuickCheck we can
- ;; re-enable them.
- (arguments `(#:tests? #f))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-for-newer-quickcheck
+ (lambda _
+ (substitute* "attoparsec.cabal"
+ (("QuickCheck >= 2\\.7 && < 2\\.10")
+ "QuickCheck >= 2.7 && < 2.12"))
+ ;; This test fails because of the newer QuickCheck:
+ ;; <https://github.com/bos/attoparsec/issues/134>.
+ (substitute* "tests/QC/ByteString.hs"
+ ((", testProperty \"satisfyWith\" satisfyWith")
+ "")))))))
(inputs
`(("ghc-scientific" ,ghc-scientific)
("ghc-text" ,ghc-text)))
- 138/272: gnu: ghc-generic-deriving: Update to 1.12.2., (continued)
- 138/272: gnu: ghc-generic-deriving: Update to 1.12.2., Ricardo Wurmus, 2018/10/01
- 133/272: gnu: ghc-uuid: Update Cabal file to r2 and relax dependencies., Ricardo Wurmus, 2018/10/01
- 141/272: gnu: Add ghc-newtype-generics., Ricardo Wurmus, 2018/10/01
- 146/272: gnu: ghc-openglraw: Update to 3.3.1.0., Ricardo Wurmus, 2018/10/01
- 144/272: gnu: ghc-fgl-arbitrary: Replace "--allow-newer" flags., Ricardo Wurmus, 2018/10/01
- 147/272: gnu: ghc-temporary: Update to 1.3., Ricardo Wurmus, 2018/10/01
- 143/272: gnu: ghc-doctest: Update to 0.16.0., Ricardo Wurmus, 2018/10/01
- 166/272: gnu: ghc-megaparsec: Update to 6.5.0., Ricardo Wurmus, 2018/10/01
- 155/272: gnu: ghc-mockery: Update to 0.3.5., Ricardo Wurmus, 2018/10/01
- 163/272: gnu: ghc-comonad: Update to 5.0.4., Ricardo Wurmus, 2018/10/01
- 161/272: gnu: ghc-attoparsec: Enable tests and allow newer QuickCheck.,
Ricardo Wurmus <=
- 159/272: gnu: ghc-x509-store: Update to 1.6.6., Ricardo Wurmus, 2018/10/01
- 170/272: gnu: ghc-x509-system: Update to 1.6.6., Ricardo Wurmus, 2018/10/01
- 173/272: gnu: ghc-attoparsec-iso8601: Update Cabal file to r1., Ricardo Wurmus, 2018/10/01
- 176/272: gnu: ghc-email-validate: Update to 2.3.2.6., Ricardo Wurmus, 2018/10/01
- 187/272: gnu: ghc-aeson-compat: Update to 0.3.8., Ricardo Wurmus, 2018/10/01
- 178/272: gnu: ghc-haskell-src-exts-util: Update to 0.2.3., Ricardo Wurmus, 2018/10/01
- 175/272: gnu: ghc-cgi: Adjust dependency constraints., Ricardo Wurmus, 2018/10/01
- 204/272: gnu: ghc-reducers: Update to 3.12.3., Ricardo Wurmus, 2018/10/01
- 192/272: gnu: ghc-http-api-data: Update to 0.3.8.1., Ricardo Wurmus, 2018/10/01
- 198/272: gnu: Add ghc-tls-session-manager., Ricardo Wurmus, 2018/10/01