git.iko.soy/distributed-process
on 87bb129 help sign in
distributed-process/distributed-process-tests/distributed-process-tests.cabal
143 lines 6.1 kB history raw
1name: distributed-process-tests
2version: 0.4.2
3synopsis: Tests and test support tools for distributed-process.
4homepage: http://github.com/haskell-distributed/distributed-process-tests
5license: BSD3
6license-file: LICENSE
7Author: Duncan Coutts, Nicolas Wu, Edsko de Vries
8Maintainer: watson.timothy@gmail.com, edsko@well-typed.com, duncan@well-typed.com
9copyright: Well-Typed LLP
10category: Control, Cloud Haskell
11build-type: Simple
12cabal-version: >=1.8
14flag tcp
15 Description: build and run TCP tests
16 Default: False
18library
19 exposed-modules: Network.Transport.Test
20 Control.Distributed.Process.Tests.CH
21 Control.Distributed.Process.Tests.Closure
22 Control.Distributed.Process.Tests.Mx
23 Control.Distributed.Process.Tests.Receive
24 Control.Distributed.Process.Tests.Stats
25 Control.Distributed.Process.Tests.Tracing
26 Control.Distributed.Process.Tests.Internal.Utils
27 Build-Depends: base >= 4.4 && < 5,
28 ansi-terminal >= 0.5 && < 0.7,
29 binary >= 0.5 && < 0.8,
30 bytestring >= 0.9 && < 0.11,
31 distributed-process >= 0.5.3 && < 0.6,
32 distributed-static,
33 HUnit >= 1.2 && < 1.4,
34 network-transport >= 0.4.1.0 && < 0.5,
35 network >= 2.5 && < 2.7,
36 random >= 1.0 && < 1.2,
37 rematch >= 0.1.2.1,
38 test-framework >= 0.6 && < 0.9,
39 test-framework-hunit >= 0.2.0 && < 0.4,
40 stm
41 hs-source-dirs: src
42 ghc-options: -Wall -fno-warn-unused-do-bind
43 extensions: CPP,
44 ExistentialQuantification,
45 FlexibleInstances,
46 DeriveDataTypeable,
47 DeriveGeneric,
48 GeneralizedNewtypeDeriving,
49 OverlappingInstances,
50 RankNTypes,
51 RecordWildCards,
52 ScopedTypeVariables
53 if impl(ghc <= 7.4.2)
54 Build-Depends: ghc-prim == 0.2.0.0
56Test-Suite TestCHInMemory
57 Type: exitcode-stdio-1.0
58 Main-Is: runInMemory.hs
59 CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.CH
60 Build-Depends: base >= 4.4 && < 5,
61 distributed-process-tests,
62 network >= 2.3 && < 2.7,
63 network-transport >= 0.4.1.0 && < 0.5,
64 network-transport-inmemory >= 0.5,
65 test-framework >= 0.6 && < 0.9
66 Extensions: CPP
67 ghc-options: -Wall -threaded -debug -eventlog -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
68 HS-Source-Dirs: tests
70Test-Suite TestCHInTCP
71 Type: exitcode-stdio-1.0
72 Main-Is: runTCP.hs
73 CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.CH
74 if flag(tcp)
75 Build-Depends: base >= 4.4 && < 5,
76 distributed-process-tests,
77 network >= 2.3 && < 2.7,
78 network-transport >= 0.4.1.0 && < 0.5,
79 network-transport-tcp >= 0.3 && < 0.5,
80 test-framework >= 0.6 && < 0.9
81 else
82 Buildable: False
83 Extensions: CPP
84 ghc-options: -Wall -threaded -debug -eventlog -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
85 HS-Source-Dirs: tests
88Test-Suite TestClosure
89 Type: exitcode-stdio-1.0
90 Main-Is: runInMemory.hs
91 CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.Closure
92 Build-Depends: base >= 4.4 && < 5,
93 distributed-process-tests,
94 network >= 2.3 && < 2.7,
95 network-transport >= 0.4.1.0 && < 0.5,
96 network-transport-inmemory >= 0.5,
97 test-framework >= 0.6 && < 0.9
98 Extensions: CPP
99 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
100 HS-Source-Dirs: tests
102Test-Suite TestStats
103 Type: exitcode-stdio-1.0
104 Main-Is: runInMemory.hs
105 CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.Stats
106 Build-Depends: base >= 4.4 && < 5,
107 distributed-process-tests,
108 network >= 2.3 && < 2.7,
109 network-transport >= 0.4.1.0 && < 0.5,
110 network-transport-inmemory >= 0.5,
111 test-framework >= 0.6 && < 0.9
112 Extensions: CPP
113 ghc-options: -Wall -debug -eventlog -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
114 HS-Source-Dirs: tests
117Test-Suite TestMx
118 Type: exitcode-stdio-1.0
119 Main-Is: runInMemory.hs
120 CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.Mx
121 Build-Depends: base >= 4.4 && < 5,
122 distributed-process-tests,
123 network >= 2.3 && < 2.7,
124 network-transport >= 0.4.1.0 && < 0.5,
125 network-transport-inmemory >= 0.5,
126 test-framework >= 0.6 && < 0.9
127 Extensions: CPP
128 ghc-options: -Wall -debug -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
129 HS-Source-Dirs: tests
131Test-Suite TestTracing
132 Type: exitcode-stdio-1.0
133 Main-Is: runInMemory.hs
134 CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.Tracing
135 Build-Depends: base >= 4.4 && < 5,
136 distributed-process-tests,
137 network >= 2.3 && < 2.7,
138 network-transport >= 0.4.1.0 && < 0.5,
139 network-transport-inmemory >= 0.5,
140 test-framework >= 0.6 && < 0.9
141 Extensions: CPP
142 ghc-options: -Wall -debug -eventlog -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
143 HS-Source-Dirs: tests