[Git][haskell-team/DHG_packages][master] random: disable testsuites that cause a dependency loop

Clint Adams (@clint) gitlab at salsa.debian.org
Thu Jun 16 00:32:06 BST 2022



Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
8ce3b878 by Clint Adams at 2022-06-15T19:23:45-04:00
random: disable testsuites that cause a dependency loop

- - - - -


4 changed files:

- p/haskell-random/debian/changelog
- p/haskell-random/debian/control
- + p/haskell-random/debian/patches/disable-some-tests
- + p/haskell-random/debian/patches/series


Changes:

=====================================
p/haskell-random/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-random (1.2.1.1-2) unstable; urgency=medium
+
+  * Disable testsuites that cause a dependency loop.
+
+ -- Clint Adams <clint at debian.org>  Wed, 15 Jun 2022 19:22:41 -0400
+
 haskell-random (1.2.1.1-1) unstable; urgency=medium
 
   * New upstream release


=====================================
p/haskell-random/debian/control
=====================================
@@ -12,38 +12,9 @@ Build-Depends: debhelper (>= 10),
  libghc-splitmix-dev (>= 0.1),
  libghc-splitmix-dev (<< 0.2),
  libghc-splitmix-prof,
- libghc-doctest-dev (>= 0.15),
- libghc-doctest-dev (<< 0.21),
- libghc-doctest-prof,
- libghc-mwc-random-dev (>= 0.13),
- libghc-mwc-random-dev (<< 0.16),
- libghc-mwc-random-prof,
- libghc-primitive-dev (>= 0.6),
- libghc-primitive-dev (<< 0.8),
- libghc-primitive-prof,
- libghc-smallcheck-dev (>= 1.2),
- libghc-smallcheck-dev (<< 1.3),
- libghc-smallcheck-prof,
- libghc-tasty-dev (>= 1.0),
- libghc-tasty-dev (<< 1.5),
- libghc-tasty-prof,
- libghc-tasty-hunit-dev (>= 0.10),
- libghc-tasty-hunit-dev (<< 0.11),
- libghc-tasty-hunit-prof,
- libghc-tasty-inspection-testing-dev,
- libghc-tasty-inspection-testing-prof,
- libghc-tasty-smallcheck-dev (>= 0.8),
- libghc-tasty-smallcheck-dev (<< 0.9),
- libghc-tasty-smallcheck-prof,
- libghc-unliftio-dev (>= 0.2),
- libghc-unliftio-dev (<< 0.3),
- libghc-unliftio-prof,
- libghc-vector-dev (>= 0.10),
- libghc-vector-dev (<< 0.14),
- libghc-vector-prof,
 Build-Depends-Indep: ghc-doc,
  libghc-splitmix-doc,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.1
 Homepage: https://hackage.haskell.org/package/random
 Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-random
 Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-random]


=====================================
p/haskell-random/debian/patches/disable-some-tests
=====================================
@@ -0,0 +1,68 @@
+--- a/random.cabal
++++ b/random.cabal
+@@ -128,65 +128,6 @@ test-suite legacy-test
+         containers >=0.5 && <0.7,
+         random
+ 
+-test-suite doctests
+-    type:             exitcode-stdio-1.0
+-    main-is:          doctests.hs
+-    hs-source-dirs:   test
+-    default-language: Haskell2010
+-    build-depends:
+-        base,
+-        doctest >=0.15 && <0.21
+-    if impl(ghc >= 8.2) && impl(ghc < 8.10)
+-        build-depends:
+-            mwc-random >=0.13 && <0.16,
+-            primitive >=0.6 && <0.8,
+-            random,
+-            stm,
+-            unliftio >=0.2 && <0.3,
+-            vector >= 0.10 && <0.14
+-
+-test-suite spec
+-    type:             exitcode-stdio-1.0
+-    main-is:          Spec.hs
+-    hs-source-dirs:   test
+-    other-modules:
+-        Spec.Range
+-        Spec.Run
+-        Spec.Stateful
+-
+-    default-language: Haskell2010
+-    ghc-options:      -Wall
+-    build-depends:
+-        base,
+-        bytestring,
+-        random,
+-        smallcheck >=1.2 && <1.3,
+-        stm,
+-        tasty >=1.0 && <1.5,
+-        tasty-smallcheck >=0.8 && <0.9,
+-        tasty-hunit >=0.10 && <0.11,
+-        transformers
+-
+--- Note. Fails when compiled with coverage:
+--- https://github.com/haskell/random/issues/107
+-test-suite spec-inspection
+-    type:             exitcode-stdio-1.0
+-    main-is:          Spec.hs
+-    hs-source-dirs:   test-inspection
+-    build-depends:
+-
+-    default-language: Haskell2010
+-    ghc-options:      -Wall
+-    build-depends:
+-        base,
+-        random,
+-        tasty >=1.0 && <1.5
+-    if impl(ghc >= 8.0)
+-        build-depends:
+-            tasty-inspection-testing
+-        other-modules:
+-            Spec.Inspection
+-
+ benchmark legacy-bench
+     type:             exitcode-stdio-1.0
+     main-is:          SimpleRNGBench.hs


=====================================
p/haskell-random/debian/patches/series
=====================================
@@ -0,0 +1 @@
+disable-some-tests



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/8ce3b878d29f1f65e1f441b566067b6058bdad25

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/8ce3b878d29f1f65e1f441b566067b6058bdad25
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/20220615/f426f865/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list