4synopsis: Tests for streamly
5description: See streamly-benchmarks for the reason why we use a separate
9 description: Use fusion plugin for benchmarks and executables
14 description: Limits memory when building the executables
19 description: Development build
24 description: Use llvm backend for better performance
29 description: off=-O0 (faster builds), on=-O2
33-------------------------------------------------------------------------------
35-------------------------------------------------------------------------------
38 default-language: Haskell2010
41 cpp-options: -DCABAL_OS_DARWIN
44 cpp-options: -DCABAL_OS_LINUX
47 cpp-options: -DCABAL_OS_WINDOWS
50 cpp-options: -DDEVBUILD
54 -Wunrecognised-warning-flags
56 -Wincomplete-record-updates
57 -Wincomplete-uni-patterns
58 -Wredundant-constraints
59 -Wnoncanonical-monad-instances
67 ghc-options: -Wmissed-specialisations
68 -Wall-missed-specialisations
70 if flag(limit-build-mem)
71 ghc-options: +RTS -M512M -RTS
73common default-extensions
82 ExistentialQuantification
85 GeneralizedNewtypeDeriving
99 -- MonoLocalBinds, enabled by TypeFamilies, causes performance
100 -- regressions. Disable it. This must come after TypeFamilies,
101 -- otherwise TypeFamilies will enable it again.
104 -- UndecidableInstances -- Does not show any perf impact
105 -- UnboxedTuples -- interferes with (#.)
107common threading-options
108 ghc-options: -threaded
111common optimization-options
112 if flag(opt) || flag(fusion-plugin)
116 -fspec-constr-recursive=16
117 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
118 ghc-options: -fplugin Fusion.Plugin
122common test-dependencies
126 , containers >= 0.5 && < 0.7
127 , exceptions >= 0.8 && < 0.11
129 , hspec >= 2.0 && < 3
131 , random >= 1.0.0 && < 2
132 , transformers >= 0.4 && < 0.6
133 , QuickCheck >= 2.13 && < 2.15
134 , directory >= 1.2.2 && < 1.4
135 , filepath >= 1.4.1 && < 1.5
136 , temporary >= 1.3 && < 1.4
137 , network >= 3.1 && < 3.2
139 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
141 fusion-plugin >= 0.2 && < 0.3
143-------------------------------------------------------------------------------
145-------------------------------------------------------------------------------
148 import: compile-options
149 , optimization-options
154 import: lib-options, test-dependencies
156 exposed-modules: Streamly.Test.Common
157 , Streamly.Test.Prelude.Common
158 if flag(limit-build-mem)
159 ghc-options: +RTS -M1500M -RTS
162-------------------------------------------------------------------------------
164-------------------------------------------------------------------------------
169 ghc-options: -rtsopts
171 build-depends: streamly-tests
173common always-optimized
174 import: compile-options
181 -fspec-constr-recursive=16
182 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
183 ghc-options: -fplugin Fusion.Plugin
185-------------------------------------------------------------------------------
186-- Test suites in sorted order
187-------------------------------------------------------------------------------
191 type: exitcode-stdio-1.0
192 main-is: Streamly/Test/Data/List.hs
193 cpp-options: -DUSE_STREAMLY_LIST
195test-suite Data.List.Base
197 type: exitcode-stdio-1.0
198 main-is: Streamly/Test/Data/List.hs
202 type: exitcode-stdio-1.0
203 main-is: Streamly/Test/Data/Array.hs
204 ghc-options: -main-is Streamly.Test.Data.Array.main
206test-suite Data.Array.Prim
208 type: exitcode-stdio-1.0
209 main-is: Streamly/Test/Data/Array/Prim.hs
210 ghc-options: -main-is Streamly.Test.Data.Array.Prim.main
212test-suite Data.Array.Prim.Pinned
214 type: exitcode-stdio-1.0
215 main-is: Streamly/Test/Data/Array/Prim/Pinned.hs
216 ghc-options: -main-is Streamly.Test.Data.Array.Prim.Pinned.main
218test-suite Data.Array.Foreign
220 type: exitcode-stdio-1.0
221 main-is: Streamly/Test/Data/Array/Foreign.hs
222 ghc-options: -main-is Streamly.Test.Data.Array.Foreign.main
226 type: exitcode-stdio-1.0
227 main-is: Streamly/Test/Data/Fold.hs
229test-suite Data.Parser
231 type: exitcode-stdio-1.0
232 main-is: Streamly/Test/Data/Parser.hs
233 if flag(limit-build-mem)
234 ghc-options: +RTS -M1000M -RTS
236test-suite Data.Parser.ParserD
238 type: exitcode-stdio-1.0
239 main-is: Streamly/Test/Data/Parser/ParserD.hs
240 if flag(limit-build-mem)
241 ghc-options: +RTS -M1000M -RTS
243test-suite Data.SmallArray
245 type: exitcode-stdio-1.0
246 main-is: Streamly/Test/Data/SmallArray.hs
247 ghc-options: -main-is Streamly.Test.Data.SmallArray.main
249test-suite Data.Unfold
251 type: exitcode-stdio-1.0
252 main-is: Streamly/Test/Data/Unfold.hs
254test-suite FileSystem.Event
256 type: exitcode-stdio-1.0
257 main-is: Streamly/Test/FileSystem/Event.hs
261test-suite FileSystem.Handle
263 type: exitcode-stdio-1.0
264 main-is: Streamly/Test/FileSystem/Handle.hs
265 ghc-options: -main-is Streamly.Test.FileSystem.Handle.main
267test-suite Network.Inet.TCP
269 type: exitcode-stdio-1.0
270 main-is: Streamly/Test/Network/Inet/TCP.hs
272test-suite Network.Socket
274 type: exitcode-stdio-1.0
275 main-is: Streamly/Test/Network/Socket.hs
279 type: exitcode-stdio-1.0
280 main-is: Streamly/Test/Prelude.hs
281 ghc-options: -main-is Streamly.Test.Prelude.main
283test-suite Prelude.Ahead
285 type: exitcode-stdio-1.0
286 main-is: Streamly/Test/Prelude/Ahead.hs
287 ghc-options: -main-is Streamly.Test.Prelude.Ahead.main
289test-suite Prelude.Async
291 type: exitcode-stdio-1.0
292 main-is: Streamly/Test/Prelude/Async.hs
293 ghc-options: -main-is Streamly.Test.Prelude.Async.main
295test-suite Prelude.Concurrent
297 type: exitcode-stdio-1.0
298 main-is: Streamly/Test/Prelude/Concurrent.hs
299 ghc-options: -main-is Streamly.Test.Prelude.Concurrent.main
300 if flag(limit-build-mem)
301 ghc-options: +RTS -M2000M -RTS
303test-suite Prelude.Fold
305 type: exitcode-stdio-1.0
306 main-is: Streamly/Test/Prelude/Fold.hs
307 ghc-options: -main-is Streamly.Test.Prelude.Fold.main
309test-suite Prelude.Parallel
311 type: exitcode-stdio-1.0
312 main-is: Streamly/Test/Prelude/Parallel.hs
313 ghc-options: -main-is Streamly.Test.Prelude.Parallel.main
315test-suite Prelude.Rate
316 import:always-optimized
317 type: exitcode-stdio-1.0
318 main-is: Streamly/Test/Prelude/Rate.hs
319 ghc-options: -main-is Streamly.Test.Prelude.Rate.main
325test-suite Prelude.Serial
327 type: exitcode-stdio-1.0
328 main-is: Streamly/Test/Prelude/Serial.hs
329 ghc-options: -main-is Streamly.Test.Prelude.Serial.main
330 if flag(limit-build-mem)
331 ghc-options: +RTS -M1500M -RTS
334test-suite Prelude.WAsync
336 type: exitcode-stdio-1.0
337 main-is: Streamly/Test/Prelude/WAsync.hs
338 ghc-options: -main-is Streamly.Test.Prelude.WAsync.main
340test-suite Prelude.WSerial
342 type: exitcode-stdio-1.0
343 main-is: Streamly/Test/Prelude/WSerial.hs
344 ghc-options: -main-is Streamly.Test.Prelude.WSerial.main
346test-suite Prelude.ZipAsync
348 type: exitcode-stdio-1.0
349 main-is: Streamly/Test/Prelude/ZipAsync.hs
350 ghc-options: -main-is Streamly.Test.Prelude.ZipAsync.main
352test-suite Prelude.ZipSerial
354 type: exitcode-stdio-1.0
355 main-is: Streamly/Test/Prelude/ZipSerial.hs
356 ghc-options: -main-is Streamly.Test.Prelude.ZipSerial.main
358test-suite Unicode.Stream
360 type: exitcode-stdio-1.0
361 main-is: Streamly/Test/Unicode/Stream.hs
362 ghc-options: -main-is Streamly.Test.Unicode.Stream.main
364test-suite version-bounds
366 type: exitcode-stdio-1.0
367 main-is: version-bounds.hs
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list