1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 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
|