mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-11-23 22:23:18 +03:00
8bff75a167
The idea is that, if the dependency function is correct, then any permutation of independent actions should give the same result. In practice it's a little more complex, as the dependency function has some special cases which are only valid because of how it is used. So an "independence" function which we can use to shuffle any trace after-the-fact has to work around those cases.
79 lines
2.5 KiB
Plaintext
79 lines
2.5 KiB
Plaintext
-- Initial dejafu-tests.cabal generated by cabal init. For further
|
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
name: dejafu-tests
|
|
version: 0.4.0.0
|
|
synopsis: The test suite for dejafu
|
|
-- description:
|
|
homepage: https://github.com/barrucadu/dejafu
|
|
license: MIT
|
|
license-file: LICENSE
|
|
author: Michael Walker
|
|
maintainer: mike@barrucadu.co.uk
|
|
-- copyright:
|
|
-- category:
|
|
build-type: Simple
|
|
-- extra-source-files:
|
|
cabal-version: >=1.10
|
|
|
|
library
|
|
exposed-modules: Cases
|
|
, Cases.Async
|
|
, Cases.SingleThreaded
|
|
, Cases.MultiThreaded
|
|
, Cases.Refinement
|
|
, Cases.Litmus
|
|
, Cases.Discard
|
|
, Cases.Regressions
|
|
, Cases.Properties
|
|
|
|
, Examples
|
|
, Examples.AutoUpdate
|
|
, Examples.ClassLaws
|
|
, Examples.Logger
|
|
, Examples.ParMonad
|
|
, Examples.ParMonad.Direct
|
|
, Examples.ParMonad.DirectInternal
|
|
, Examples.Philosophers
|
|
, Examples.SearchParty
|
|
, Examples.SearchParty.Impredicative
|
|
|
|
, Test.Tasty.LeanCheck
|
|
, Common
|
|
, QSemN
|
|
|
|
build-depends: base
|
|
, abstract-deque
|
|
, abstract-par
|
|
, concurrency
|
|
, containers
|
|
, deepseq
|
|
, dejafu
|
|
, exceptions
|
|
, hedgehog
|
|
, leancheck
|
|
, mtl
|
|
, mwc-random
|
|
, QuickCheck
|
|
, random
|
|
, tasty
|
|
, tasty-dejafu
|
|
, tasty-hedgehog
|
|
, tasty-quickcheck
|
|
, vector
|
|
if impl(ghc < 8.0.1)
|
|
build-depends: transformers
|
|
hs-source-dirs: lib
|
|
default-language: Haskell2010
|
|
|
|
executable dejafu-tests
|
|
main-is: Main.hs
|
|
|
|
build-depends: base
|
|
, dejafu-tests
|
|
, tasty
|
|
, tasty-quickcheck
|
|
hs-source-dirs: exe
|
|
default-language: Haskell2010
|
|
ghc-options: -threaded -rtsopts
|