on master help sign in
Combine test-core and bench-core flags to a single use-streamly-core flag (#1798)
0b4a300Ranjeet Ranjan
benchmark/streamly-benchmarks.cabal+31−31
@@ -59,7 +59,7 @@ flag use-gauge
59 manual: True
59 manual: True
60 default: False
60 default: False
61
61
62−flag bench-core
62+flag use-streamly-core
63 description: Benchmark only core package
63 description: Benchmark only core package
64 manual: True
64 manual: True
65 default: False
65 default: False
@@ -152,7 +152,7 @@ common bench-depends
152 , filepath >= 1.4.1 && < 1.5
152 , filepath >= 1.4.1 && < 1.5
153 , ghc-prim >= 0.4 && < 0.10
153 , ghc-prim >= 0.4 && < 0.10
154
154
155− if flag(bench-core)
155+ if flag(use-streamly-core)
156 build-depends: streamly-core
156 build-depends: streamly-core
157 else
157 else
158 build-depends: streamly
158 build-depends: streamly
@@ -188,7 +188,7 @@ library
188 hs-source-dirs: lib
188 hs-source-dirs: lib
189 exposed-modules: Streamly.Benchmark.Common
189 exposed-modules: Streamly.Benchmark.Common
190 , Streamly.Benchmark.Common.Handle
190 , Streamly.Benchmark.Common.Handle
191− if !flag(bench-core)
191+ if !flag(use-streamly-core)
192 exposed-modules: Streamly.Benchmark.Prelude
192 exposed-modules: Streamly.Benchmark.Prelude
193
193
194
194
@@ -235,7 +235,7 @@ benchmark Data.Stream
235 if flag(use-prelude)
235 if flag(use-prelude)
236 other-modules:
236 other-modules:
237 Stream.Split
237 Stream.Split
238− if flag(bench-core) || impl(ghcjs)
238+ if flag(use-streamly-core) || impl(ghcjs)
239 buildable: False
239 buildable: False
240 else
240 else
241 buildable: True
241 buildable: True
@@ -250,7 +250,7 @@ benchmark Prelude.WSerial
250 type: exitcode-stdio-1.0
250 type: exitcode-stdio-1.0
251 hs-source-dirs: Streamly/Benchmark/Prelude
251 hs-source-dirs: Streamly/Benchmark/Prelude
252 main-is: WSerial.hs
252 main-is: WSerial.hs
253− if flag(bench-core) || impl(ghcjs)
253+ if flag(use-streamly-core) || impl(ghcjs)
254 buildable: False
254 buildable: False
255 else
255 else
256 buildable: True
256 buildable: True
@@ -262,7 +262,7 @@ benchmark Prelude.Merge
262 type: exitcode-stdio-1.0
262 type: exitcode-stdio-1.0
263 hs-source-dirs: Streamly/Benchmark/Prelude
263 hs-source-dirs: Streamly/Benchmark/Prelude
264 main-is: Merge.hs
264 main-is: Merge.hs
265− if flag(bench-core) || impl(ghcjs)
265+ if flag(use-streamly-core) || impl(ghcjs)
266 buildable: False
266 buildable: False
267 else
267 else
268 buildable: True
268 buildable: True
@@ -272,7 +272,7 @@ benchmark Prelude.ZipSerial
272 type: exitcode-stdio-1.0
272 type: exitcode-stdio-1.0
273 hs-source-dirs: Streamly/Benchmark/Prelude
273 hs-source-dirs: Streamly/Benchmark/Prelude
274 main-is: ZipSerial.hs
274 main-is: ZipSerial.hs
275− if flag(bench-core) || impl(ghcjs)
275+ if flag(use-streamly-core) || impl(ghcjs)
276 buildable: False
276 buildable: False
277 else
277 else
278 buildable: True
278 buildable: True
@@ -282,7 +282,7 @@ benchmark Prelude.ZipAsync
282 type: exitcode-stdio-1.0
282 type: exitcode-stdio-1.0
283 hs-source-dirs: Streamly/Benchmark/Prelude
283 hs-source-dirs: Streamly/Benchmark/Prelude
284 main-is: ZipAsync.hs
284 main-is: ZipAsync.hs
285− if flag(bench-core) || impl(ghcjs)
285+ if flag(use-streamly-core) || impl(ghcjs)
286 buildable: False
286 buildable: False
287 else
287 else
288 buildable: True
288 buildable: True
@@ -294,7 +294,7 @@ benchmark Prelude.Ahead
294 type: exitcode-stdio-1.0
294 type: exitcode-stdio-1.0
295 hs-source-dirs: Streamly/Benchmark/Prelude
295 hs-source-dirs: Streamly/Benchmark/Prelude
296 main-is: Ahead.hs
296 main-is: Ahead.hs
297− if flag(bench-core) || impl(ghcjs)
297+ if flag(use-streamly-core) || impl(ghcjs)
298 buildable: False
298 buildable: False
299 else
299 else
300 buildable: True
300 buildable: True
@@ -304,7 +304,7 @@ benchmark Prelude.Async
304 type: exitcode-stdio-1.0
304 type: exitcode-stdio-1.0
305 hs-source-dirs: Streamly/Benchmark/Prelude
305 hs-source-dirs: Streamly/Benchmark/Prelude
306 main-is: Async.hs
306 main-is: Async.hs
307− if flag(bench-core) || impl(ghcjs)
307+ if flag(use-streamly-core) || impl(ghcjs)
308 buildable: False
308 buildable: False
309 else
309 else
310 buildable: True
310 buildable: True
@@ -314,7 +314,7 @@ benchmark Prelude.WAsync
314 type: exitcode-stdio-1.0
314 type: exitcode-stdio-1.0
315 hs-source-dirs: Streamly/Benchmark/Prelude
315 hs-source-dirs: Streamly/Benchmark/Prelude
316 main-is: WAsync.hs
316 main-is: WAsync.hs
317− if flag(bench-core) || impl(ghcjs)
317+ if flag(use-streamly-core) || impl(ghcjs)
318 buildable: False
318 buildable: False
319 else
319 else
320 buildable: True
320 buildable: True
@@ -324,7 +324,7 @@ benchmark Prelude.Parallel
324 type: exitcode-stdio-1.0
324 type: exitcode-stdio-1.0
325 hs-source-dirs: Streamly/Benchmark/Prelude
325 hs-source-dirs: Streamly/Benchmark/Prelude
326 main-is: Parallel.hs
326 main-is: Parallel.hs
327− if flag(bench-core) || impl(ghcjs)
327+ if flag(use-streamly-core) || impl(ghcjs)
328 buildable: False
328 buildable: False
329 else
329 else
330 buildable: True
330 buildable: True
@@ -337,7 +337,7 @@ benchmark Data.Unfold
337 type: exitcode-stdio-1.0
337 type: exitcode-stdio-1.0
338 hs-source-dirs: .
338 hs-source-dirs: .
339 main-is: Streamly/Benchmark/Data/Unfold.hs
339 main-is: Streamly/Benchmark/Data/Unfold.hs
340− if flag(bench-core) || impl(ghcjs)
340+ if flag(use-streamly-core) || impl(ghcjs)
341 buildable: False
341 buildable: False
342 else
342 else
343 buildable: True
343 buildable: True
@@ -347,7 +347,7 @@ benchmark Data.Fold
347 type: exitcode-stdio-1.0
347 type: exitcode-stdio-1.0
348 hs-source-dirs: Streamly/Benchmark/Data
348 hs-source-dirs: Streamly/Benchmark/Data
349 main-is: Fold.hs
349 main-is: Fold.hs
350− if flag(bench-core) || impl(ghcjs)
350+ if flag(use-streamly-core) || impl(ghcjs)
351 buildable: False
351 buildable: False
352 else
352 else
353 buildable: True
353 buildable: True
@@ -357,7 +357,7 @@ benchmark Data.Fold.Window
357 type: exitcode-stdio-1.0
357 type: exitcode-stdio-1.0
358 hs-source-dirs: Streamly/Benchmark/Data/Fold
358 hs-source-dirs: Streamly/Benchmark/Data/Fold
359 main-is: Window.hs
359 main-is: Window.hs
360− if flag(bench-core)
360+ if flag(use-streamly-core)
361 buildable: False
361 buildable: False
362 else
362 else
363 buildable: True
363 buildable: True
@@ -367,7 +367,7 @@ benchmark Data.Parser.ParserD
367 type: exitcode-stdio-1.0
367 type: exitcode-stdio-1.0
368 hs-source-dirs: Streamly/Benchmark/Data/Parser
368 hs-source-dirs: Streamly/Benchmark/Data/Parser
369 main-is: ParserD.hs
369 main-is: ParserD.hs
370− if flag(bench-core) || impl(ghcjs)
370+ if flag(use-streamly-core) || impl(ghcjs)
371 buildable: False
371 buildable: False
372 else
372 else
373 buildable: True
373 buildable: True
@@ -383,7 +383,7 @@ benchmark Data.Parser.ParserK
383 type: exitcode-stdio-1.0
383 type: exitcode-stdio-1.0
384 hs-source-dirs: Streamly/Benchmark/Data/Parser
384 hs-source-dirs: Streamly/Benchmark/Data/Parser
385 main-is: ParserK.hs
385 main-is: ParserK.hs
386− if flag(bench-core) || impl(ghcjs)
386+ if flag(use-streamly-core) || impl(ghcjs)
387 buildable: False
387 buildable: False
388 else
388 else
389 buildable: True
389 buildable: True
@@ -399,7 +399,7 @@ benchmark Data.Parser.FromParserK
399 hs-source-dirs: Streamly/Benchmark/Data/Parser
399 hs-source-dirs: Streamly/Benchmark/Data/Parser
400 cpp-options: -DFROM_PARSERK
400 cpp-options: -DFROM_PARSERK
401 main-is: ParserK.hs
401 main-is: ParserK.hs
402− if flag(bench-core) || impl(ghcjs)
402+ if flag(use-streamly-core) || impl(ghcjs)
403 buildable: False
403 buildable: False
404 else
404 else
405 buildable: True
405 buildable: True
@@ -410,7 +410,7 @@ benchmark Data.Parser
410 type: exitcode-stdio-1.0
410 type: exitcode-stdio-1.0
411 hs-source-dirs: Streamly/Benchmark/Data
411 hs-source-dirs: Streamly/Benchmark/Data
412 main-is: Parser.hs
412 main-is: Parser.hs
413− if flag(bench-core) || impl(ghcjs)
413+ if flag(use-streamly-core) || impl(ghcjs)
414 buildable: False
414 buildable: False
415 else
415 else
416 buildable: True
416 buildable: True
@@ -473,7 +473,7 @@ benchmark Prelude.Concurrent
473 type: exitcode-stdio-1.0
473 type: exitcode-stdio-1.0
474 hs-source-dirs: Streamly/Benchmark/Prelude
474 hs-source-dirs: Streamly/Benchmark/Prelude
475 main-is: Concurrent.hs
475 main-is: Concurrent.hs
476− if flag(bench-core)
476+ if flag(use-streamly-core)
477 buildable: False
477 buildable: False
478 else
478 else
479 buildable: True
479 buildable: True
@@ -483,7 +483,7 @@ benchmark Prelude.Adaptive
483 type: exitcode-stdio-1.0
483 type: exitcode-stdio-1.0
484 hs-source-dirs: Streamly/Benchmark/Prelude
484 hs-source-dirs: Streamly/Benchmark/Prelude
485 main-is: Adaptive.hs
485 main-is: Adaptive.hs
486− if flag(bench-core) || impl(ghcjs)
486+ if flag(use-streamly-core) || impl(ghcjs)
487 buildable: False
487 buildable: False
488 else
488 else
489 buildable: True
489 buildable: True
@@ -493,7 +493,7 @@ benchmark Prelude.Rate
493 type: exitcode-stdio-1.0
493 type: exitcode-stdio-1.0
494 hs-source-dirs: Streamly/Benchmark/Prelude
494 hs-source-dirs: Streamly/Benchmark/Prelude
495 main-is: Rate.hs
495 main-is: Rate.hs
496− if flag(bench-core) || impl(ghcjs)
496+ if flag(use-streamly-core) || impl(ghcjs)
497 buildable: False
497 buildable: False
498 else
498 else
499 buildable: True
499 buildable: True
@@ -507,7 +507,7 @@ benchmark Data.Array
507 type: exitcode-stdio-1.0
507 type: exitcode-stdio-1.0
508 hs-source-dirs: .
508 hs-source-dirs: .
509 main-is: Streamly/Benchmark/Data/Array.hs
509 main-is: Streamly/Benchmark/Data/Array.hs
510− if flag(bench-core)
510+ if flag(use-streamly-core)
511 buildable: False
511 buildable: False
512 else
512 else
513 buildable: True
513 buildable: True
@@ -516,7 +516,7 @@ benchmark Data.SmallArray
516 import: bench-options
516 import: bench-options
517 type: exitcode-stdio-1.0
517 type: exitcode-stdio-1.0
518 main-is: Streamly/Benchmark/Data/Array/SmallArray.hs
518 main-is: Streamly/Benchmark/Data/Array/SmallArray.hs
519− if flag(bench-core)
519+ if flag(use-streamly-core)
520 buildable: False
520 buildable: False
521 else
521 else
522 buildable: True
522 buildable: True
@@ -525,7 +525,7 @@ benchmark Data.Array.Unboxed
525 import: bench-options
525 import: bench-options
526 type: exitcode-stdio-1.0
526 type: exitcode-stdio-1.0
527 main-is: Streamly/Benchmark/Data/Array/Unboxed.hs
527 main-is: Streamly/Benchmark/Data/Array/Unboxed.hs
528− if flag(bench-core)
528+ if flag(use-streamly-core)
529 buildable: False
529 buildable: False
530 else
530 else
531 buildable: True
531 buildable: True
@@ -538,7 +538,7 @@ benchmark Data.Array.Unboxed.Mut
538 main-is: Streamly/Benchmark/Data/Array/Unboxed/Mut.hs
538 main-is: Streamly/Benchmark/Data/Array/Unboxed/Mut.hs
539 if flag(limit-build-mem)
539 if flag(limit-build-mem)
540 ghc-options: +RTS -M1500M -RTS
540 ghc-options: +RTS -M1500M -RTS
541− if flag(bench-core)
541+ if flag(use-streamly-core)
542 buildable: False
542 buildable: False
543 else
543 else
544 buildable: True
544 buildable: True
@@ -563,7 +563,7 @@ benchmark Data.Array.Stream.Foreign
563 type: exitcode-stdio-1.0
563 type: exitcode-stdio-1.0
564 hs-source-dirs: Streamly/Benchmark/Data/Array/Stream
564 hs-source-dirs: Streamly/Benchmark/Data/Array/Stream
565 main-is: Foreign.hs
565 main-is: Foreign.hs
566− if flag(bench-core) || impl(ghcjs)
566+ if flag(use-streamly-core) || impl(ghcjs)
567 buildable: False
567 buildable: False
568 else
568 else
569 buildable: True
569 buildable: True
@@ -583,7 +583,7 @@ benchmark FileSystem.Handle
583 , Handle.ReadWrite
583 , Handle.ReadWrite
584 if flag(limit-build-mem)
584 if flag(limit-build-mem)
585 ghc-options: +RTS -M1000M -RTS
585 ghc-options: +RTS -M1000M -RTS
586− if flag(bench-core)
586+ if flag(use-streamly-core)
587 buildable: False
587 buildable: False
588 else
588 else
589 buildable: True
589 buildable: True
@@ -599,7 +599,7 @@ benchmark Unicode.Stream
599 main-is: Stream.hs
599 main-is: Stream.hs
600 if flag(limit-build-mem)
600 if flag(limit-build-mem)
601 ghc-options: +RTS -M1000M -RTS
601 ghc-options: +RTS -M1000M -RTS
602− if flag(bench-core)
602+ if flag(use-streamly-core)
603 buildable: False
603 buildable: False
604 else
604 else
605 buildable: True
605 buildable: True
@@ -610,7 +610,7 @@ benchmark Unicode.Char
610 hs-source-dirs: Streamly/Benchmark/Unicode
610 hs-source-dirs: Streamly/Benchmark/Unicode
611 main-is: Char.hs
611 main-is: Char.hs
612 -- Takes too much memory for ghcjs
612 -- Takes too much memory for ghcjs
613− if flag(bench-core) || impl(ghcjs)
613+ if flag(use-streamly-core) || impl(ghcjs)
614 buildable: False
614 buildable: False
615
615
616benchmark Unicode.Utf8
616benchmark Unicode.Utf8
@@ -618,7 +618,7 @@ benchmark Unicode.Utf8
618 type: exitcode-stdio-1.0
618 type: exitcode-stdio-1.0
619 hs-source-dirs: Streamly/Benchmark/Unicode
619 hs-source-dirs: Streamly/Benchmark/Unicode
620 main-is: Utf8.hs
620 main-is: Utf8.hs
621− if flag(bench-core)
621+ if flag(use-streamly-core)
622 buildable: False
622 buildable: False
623 else
623 else
624 buildable: True
624 buildable: True
test/streamly-tests.cabal+29−29
@@ -40,7 +40,7 @@ flag opt
40 manual: True
40 manual: True
41 default: True
41 default: True
42
42
43−flag test-core
43+flag use-streamly-core
44 description: Test only core package
44 description: Test only core package
45 manual: True
45 manual: True
46 default: False
46 default: False
@@ -159,7 +159,7 @@ common test-dependencies
159 , temporary >= 1.3 && < 1.4
159 , temporary >= 1.3 && < 1.4
160 , network >= 3.1 && < 3.2
160 , network >= 3.1 && < 3.2
161
161
162− if !flag(test-core)
162+ if !flag(use-streamly-core)
163 build-depends: streamly
163 build-depends: streamly
164
164
165 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
165 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
@@ -180,7 +180,7 @@ library
180 import: lib-options, test-dependencies
180 import: lib-options, test-dependencies
181 hs-source-dirs: lib
181 hs-source-dirs: lib
182 exposed-modules: Streamly.Test.Common
182 exposed-modules: Streamly.Test.Common
183− if !flag(test-core)
183+ if !flag(use-streamly-core)
184 exposed-modules: Streamly.Test.Prelude.Common
184 exposed-modules: Streamly.Test.Prelude.Common
185 if flag(limit-build-mem)
185 if flag(limit-build-mem)
186 ghc-options: +RTS -M1500M -RTS
186 ghc-options: +RTS -M1500M -RTS
@@ -230,7 +230,7 @@ test-suite Data.Array
230 type: exitcode-stdio-1.0
230 type: exitcode-stdio-1.0
231 main-is: Streamly/Test/Data/Array.hs
231 main-is: Streamly/Test/Data/Array.hs
232 ghc-options: -main-is Streamly.Test.Data.Array.main
232 ghc-options: -main-is Streamly.Test.Data.Array.main
233− if flag(test-core)
233+ if flag(use-streamly-core)
234 buildable: False
234 buildable: False
235
235
236test-suite Data.Array.Unboxed
236test-suite Data.Array.Unboxed
@@ -250,14 +250,14 @@ test-suite Data.Ring.Unboxed
250 type: exitcode-stdio-1.0
250 type: exitcode-stdio-1.0
251 main-is: Streamly/Test/Data/Ring/Unboxed.hs
251 main-is: Streamly/Test/Data/Ring/Unboxed.hs
252 ghc-options: -main-is Streamly.Test.Data.Ring.Unboxed.main
252 ghc-options: -main-is Streamly.Test.Data.Ring.Unboxed.main
253− if flag(test-core)
253+ if flag(use-streamly-core)
254 buildable: False
254 buildable: False
255
255
256test-suite Data.Array.Stream.Foreign
256test-suite Data.Array.Stream.Foreign
257 import: test-options
257 import: test-options
258 type: exitcode-stdio-1.0
258 type: exitcode-stdio-1.0
259 main-is: Streamly/Test/Data/Array/Stream/Foreign.hs
259 main-is: Streamly/Test/Data/Array/Stream/Foreign.hs
260− if flag(test-core)
260+ if flag(use-streamly-core)
261 buildable: False
261 buildable: False
262
262
263test-suite Data.Fold
263test-suite Data.Fold
@@ -290,7 +290,7 @@ test-suite Data.SmallArray
290 type: exitcode-stdio-1.0
290 type: exitcode-stdio-1.0
291 main-is: Streamly/Test/Data/SmallArray.hs
291 main-is: Streamly/Test/Data/SmallArray.hs
292 ghc-options: -main-is Streamly.Test.Data.SmallArray.main
292 ghc-options: -main-is Streamly.Test.Data.SmallArray.main
293− if flag(test-core)
293+ if flag(use-streamly-core)
294 buildable: False
294 buildable: False
295
295
296test-suite Data.Unfold
296test-suite Data.Unfold
@@ -304,7 +304,7 @@ test-suite FileSystem.Event
304 ghc-options: -main-is Streamly.Test.FileSystem.Event
304 ghc-options: -main-is Streamly.Test.FileSystem.Event
305 main-is: Streamly/Test/FileSystem/Event.hs
305 main-is: Streamly/Test/FileSystem/Event.hs
306 other-modules: Streamly.Test.FileSystem.Event.Common
306 other-modules: Streamly.Test.FileSystem.Event.Common
307− if flag(test-core)
307+ if flag(use-streamly-core)
308 buildable: False
308 buildable: False
309
309
310test-suite FileSystem.Event.Darwin
310test-suite FileSystem.Event.Darwin
@@ -316,7 +316,7 @@ test-suite FileSystem.Event.Darwin
316 ghc-options: -main-is Streamly.Test.FileSystem.Event.Darwin
316 ghc-options: -main-is Streamly.Test.FileSystem.Event.Darwin
317 if !os(darwin)
317 if !os(darwin)
318 buildable: False
318 buildable: False
319− if flag(test-core)
319+ if flag(use-streamly-core)
320 buildable: False
320 buildable: False
321
321
322test-suite FileSystem.Event.Linux
322test-suite FileSystem.Event.Linux
@@ -328,7 +328,7 @@ test-suite FileSystem.Event.Linux
328 ghc-options: -main-is Streamly.Test.FileSystem.Event.Linux
328 ghc-options: -main-is Streamly.Test.FileSystem.Event.Linux
329 if !os(linux)
329 if !os(linux)
330 buildable: False
330 buildable: False
331− if flag(test-core)
331+ if flag(use-streamly-core)
332 buildable: False
332 buildable: False
333
333
334test-suite FileSystem.Event.Windows
334test-suite FileSystem.Event.Windows
@@ -340,7 +340,7 @@ test-suite FileSystem.Event.Windows
340 ghc-options: -main-is Streamly.Test.FileSystem.Event.Windows
340 ghc-options: -main-is Streamly.Test.FileSystem.Event.Windows
341 if !os(windows)
341 if !os(windows)
342 buildable: False
342 buildable: False
343− if flag(test-core)
343+ if flag(use-streamly-core)
344 buildable: False
344 buildable: False
345
345
346test-suite FileSystem.Handle
346test-suite FileSystem.Handle
@@ -348,21 +348,21 @@ test-suite FileSystem.Handle
348 type: exitcode-stdio-1.0
348 type: exitcode-stdio-1.0
349 main-is: Streamly/Test/FileSystem/Handle.hs
349 main-is: Streamly/Test/FileSystem/Handle.hs
350 ghc-options: -main-is Streamly.Test.FileSystem.Handle.main
350 ghc-options: -main-is Streamly.Test.FileSystem.Handle.main
351− if flag(test-core)
351+ if flag(use-streamly-core)
352 buildable: False
352 buildable: False
353
353
354test-suite Network.Inet.TCP
354test-suite Network.Inet.TCP
355 import: test-options
355 import: test-options
356 type: exitcode-stdio-1.0
356 type: exitcode-stdio-1.0
357 main-is: Streamly/Test/Network/Inet/TCP.hs
357 main-is: Streamly/Test/Network/Inet/TCP.hs
358− if flag(test-core)
358+ if flag(use-streamly-core)
359 buildable: False
359 buildable: False
360
360
361test-suite Network.Socket
361test-suite Network.Socket
362 import: test-options
362 import: test-options
363 type: exitcode-stdio-1.0
363 type: exitcode-stdio-1.0
364 main-is: Streamly/Test/Network/Socket.hs
364 main-is: Streamly/Test/Network/Socket.hs
365− if flag(test-core)
365+ if flag(use-streamly-core)
366 buildable: False
366 buildable: False
367
367
368test-suite Prelude
368test-suite Prelude
@@ -370,7 +370,7 @@ test-suite Prelude
370 type: exitcode-stdio-1.0
370 type: exitcode-stdio-1.0
371 main-is: Streamly/Test/Prelude.hs
371 main-is: Streamly/Test/Prelude.hs
372 ghc-options: -main-is Streamly.Test.Prelude.main
372 ghc-options: -main-is Streamly.Test.Prelude.main
373− if flag(test-core)
373+ if flag(use-streamly-core)
374 buildable: False
374 buildable: False
375
375
376test-suite Prelude.Ahead
376test-suite Prelude.Ahead
@@ -378,7 +378,7 @@ test-suite Prelude.Ahead
378 type: exitcode-stdio-1.0
378 type: exitcode-stdio-1.0
379 main-is: Streamly/Test/Prelude/Ahead.hs
379 main-is: Streamly/Test/Prelude/Ahead.hs
380 ghc-options: -main-is Streamly.Test.Prelude.Ahead.main
380 ghc-options: -main-is Streamly.Test.Prelude.Ahead.main
381− if flag(test-core)
381+ if flag(use-streamly-core)
382 buildable: False
382 buildable: False
383
383
384test-suite Prelude.Async
384test-suite Prelude.Async
@@ -386,7 +386,7 @@ test-suite Prelude.Async
386 type: exitcode-stdio-1.0
386 type: exitcode-stdio-1.0
387 main-is: Streamly/Test/Prelude/Async.hs
387 main-is: Streamly/Test/Prelude/Async.hs
388 ghc-options: -main-is Streamly.Test.Prelude.Async.main
388 ghc-options: -main-is Streamly.Test.Prelude.Async.main
389− if flag(test-core)
389+ if flag(use-streamly-core)
390 buildable: False
390 buildable: False
391
391
392test-suite Prelude.Concurrent
392test-suite Prelude.Concurrent
@@ -396,7 +396,7 @@ test-suite Prelude.Concurrent
396 ghc-options: -main-is Streamly.Test.Prelude.Concurrent.main
396 ghc-options: -main-is Streamly.Test.Prelude.Concurrent.main
397 if flag(limit-build-mem)
397 if flag(limit-build-mem)
398 ghc-options: +RTS -M2000M -RTS
398 ghc-options: +RTS -M2000M -RTS
399− if flag(test-core)
399+ if flag(use-streamly-core)
400 buildable: False
400 buildable: False
401
401
402test-suite Prelude.Fold
402test-suite Prelude.Fold
@@ -404,7 +404,7 @@ test-suite Prelude.Fold
404 type: exitcode-stdio-1.0
404 type: exitcode-stdio-1.0
405 main-is: Streamly/Test/Prelude/Fold.hs
405 main-is: Streamly/Test/Prelude/Fold.hs
406 ghc-options: -main-is Streamly.Test.Prelude.Fold.main
406 ghc-options: -main-is Streamly.Test.Prelude.Fold.main
407− if flag(test-core)
407+ if flag(use-streamly-core)
408 buildable: False
408 buildable: False
409
409
410test-suite Prelude.Parallel
410test-suite Prelude.Parallel
@@ -412,7 +412,7 @@ test-suite Prelude.Parallel
412 type: exitcode-stdio-1.0
412 type: exitcode-stdio-1.0
413 main-is: Streamly/Test/Prelude/Parallel.hs
413 main-is: Streamly/Test/Prelude/Parallel.hs
414 ghc-options: -main-is Streamly.Test.Prelude.Parallel.main
414 ghc-options: -main-is Streamly.Test.Prelude.Parallel.main
415− if flag(test-core)
415+ if flag(use-streamly-core)
416 buildable: False
416 buildable: False
417
417
418test-suite Prelude.Rate
418test-suite Prelude.Rate
@@ -424,7 +424,7 @@ test-suite Prelude.Rate
424 buildable: True
424 buildable: True
425 else
425 else
426 buildable: False
426 buildable: False
427− if flag(test-core)
427+ if flag(use-streamly-core)
428 buildable: False
428 buildable: False
429
429
430test-suite Prelude.Serial
430test-suite Prelude.Serial
@@ -434,14 +434,14 @@ test-suite Prelude.Serial
434 ghc-options: -main-is Streamly.Test.Prelude.Serial.main
434 ghc-options: -main-is Streamly.Test.Prelude.Serial.main
435 if flag(limit-build-mem)
435 if flag(limit-build-mem)
436 ghc-options: +RTS -M1500M -RTS
436 ghc-options: +RTS -M1500M -RTS
437− if flag(test-core)
437+ if flag(use-streamly-core)
438 buildable: False
438 buildable: False
439
439
440test-suite Prelude.Top
440test-suite Prelude.Top
441 import: test-options
441 import: test-options
442 type: exitcode-stdio-1.0
442 type: exitcode-stdio-1.0
443 main-is: Streamly/Test/Prelude/Top.hs
443 main-is: Streamly/Test/Prelude/Top.hs
444− if flag(test-core)
444+ if flag(use-streamly-core)
445 buildable: False
445 buildable: False
446
446
447test-suite Prelude.WAsync
447test-suite Prelude.WAsync
@@ -449,7 +449,7 @@ test-suite Prelude.WAsync
449 type: exitcode-stdio-1.0
449 type: exitcode-stdio-1.0
450 main-is: Streamly/Test/Prelude/WAsync.hs
450 main-is: Streamly/Test/Prelude/WAsync.hs
451 ghc-options: -main-is Streamly.Test.Prelude.WAsync.main
451 ghc-options: -main-is Streamly.Test.Prelude.WAsync.main
452− if flag(test-core)
452+ if flag(use-streamly-core)
453 buildable: False
453 buildable: False
454
454
455test-suite Prelude.WSerial
455test-suite Prelude.WSerial
@@ -457,7 +457,7 @@ test-suite Prelude.WSerial
457 type: exitcode-stdio-1.0
457 type: exitcode-stdio-1.0
458 main-is: Streamly/Test/Prelude/WSerial.hs
458 main-is: Streamly/Test/Prelude/WSerial.hs
459 ghc-options: -main-is Streamly.Test.Prelude.WSerial.main
459 ghc-options: -main-is Streamly.Test.Prelude.WSerial.main
460− if flag(test-core)
460+ if flag(use-streamly-core)
461 buildable: False
461 buildable: False
462
462
463test-suite Prelude.ZipAsync
463test-suite Prelude.ZipAsync
@@ -467,7 +467,7 @@ test-suite Prelude.ZipAsync
467 ghc-options: -main-is Streamly.Test.Prelude.ZipAsync.main
467 ghc-options: -main-is Streamly.Test.Prelude.ZipAsync.main
468 if flag(limit-build-mem)
468 if flag(limit-build-mem)
469 ghc-options: +RTS -M750M -RTS
469 ghc-options: +RTS -M750M -RTS
470− if flag(test-core)
470+ if flag(use-streamly-core)
471 buildable: False
471 buildable: False
472
472
473test-suite Prelude.ZipSerial
473test-suite Prelude.ZipSerial
@@ -475,7 +475,7 @@ test-suite Prelude.ZipSerial
475 type: exitcode-stdio-1.0
475 type: exitcode-stdio-1.0
476 main-is: Streamly/Test/Prelude/ZipSerial.hs
476 main-is: Streamly/Test/Prelude/ZipSerial.hs
477 ghc-options: -main-is Streamly.Test.Prelude.ZipSerial.main
477 ghc-options: -main-is Streamly.Test.Prelude.ZipSerial.main
478− if flag(test-core)
478+ if flag(use-streamly-core)
479 buildable: False
479 buildable: False
480
480
481test-suite Unicode.Stream
481test-suite Unicode.Stream
@@ -483,7 +483,7 @@ test-suite Unicode.Stream
483 type: exitcode-stdio-1.0
483 type: exitcode-stdio-1.0
484 main-is: Streamly/Test/Unicode/Stream.hs
484 main-is: Streamly/Test/Unicode/Stream.hs
485 ghc-options: -main-is Streamly.Test.Unicode.Stream.main
485 ghc-options: -main-is Streamly.Test.Unicode.Stream.main
486− if flag(test-core)
486+ if flag(use-streamly-core)
487 buildable: False
487 buildable: False
488
488
489test-suite Unicode.Char
489test-suite Unicode.Char
@@ -491,7 +491,7 @@ test-suite Unicode.Char
491 type: exitcode-stdio-1.0
491 type: exitcode-stdio-1.0
492 main-is: Streamly/Test/Unicode/Char.hs
492 main-is: Streamly/Test/Unicode/Char.hs
493 ghc-options: -main-is Streamly.Test.Unicode.Char.main
493 ghc-options: -main-is Streamly.Test.Unicode.Char.main
494− if flag(test-core) || !flag(dev)
494+ if flag(use-streamly-core) || !flag(dev)
495 buildable: False
495 buildable: False
496
496
497test-suite version-bounds
497test-suite version-bounds