@@ -40,7 +40,7 @@ flag opt
40 manual: True
40 manual: True
41 default: True
41 default: True
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
162− if !flag(test-core)
162+ if !flag(use-streamly-core)
163 build-depends: streamly
163 build-depends: streamly
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
418test-suite Prelude.Rate
418test-suite Prelude.Rate
@@ -424,7 +424,7 @@ test-suite Prelude.Rate
424 buildable: True
424 buildable: True
426 buildable: False
426 buildable: False
427− if flag(test-core)
427+ if flag(use-streamly-core)
428 buildable: False
428 buildable: False
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
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
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
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
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
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
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
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
497test-suite version-bounds
497test-suite version-bounds