mirror of
https://github.com/composewell/streamly.git
synced 2024-09-11 19:47:10 +03:00
Arrange tests in alphabetical order
This commit is contained in:
parent
d3adfdcf9c
commit
9f428af57c
@ -214,9 +214,46 @@ common always-optimized
|
|||||||
ghc-options: -fplugin Fusion.Plugin
|
ghc-options: -fplugin Fusion.Plugin
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
-- Test suites in sorted order
|
-- Test suites in alphabetical order
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
test-suite Data.Array
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/Array.hs
|
||||||
|
ghc-options: -main-is Streamly.Test.Data.Array.main
|
||||||
|
|
||||||
|
test-suite Data.Array.Generic
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/Array/Generic.hs
|
||||||
|
ghc-options: -main-is Streamly.Test.Data.Array.Generic.main
|
||||||
|
if flag(use-streamly-core)
|
||||||
|
buildable: False
|
||||||
|
|
||||||
|
test-suite Data.Array.Stream
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/Array/Stream.hs
|
||||||
|
if flag(use-streamly-core)
|
||||||
|
buildable: False
|
||||||
|
|
||||||
|
test-suite Data.Binary
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Serialize/Serializable.hs
|
||||||
|
|
||||||
|
test-suite Data.Fold
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/Fold.hs
|
||||||
|
|
||||||
|
test-suite Data.Fold.Window
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/Fold/Window.hs
|
||||||
|
ghc-options: -main-is Streamly.Test.Data.Fold.Window.main
|
||||||
|
|
||||||
-- The Streamly.Data.List needs to be fixed to enable this
|
-- The Streamly.Data.List needs to be fixed to enable this
|
||||||
-- test-suite Data.List
|
-- test-suite Data.List
|
||||||
-- import: test-options
|
-- import: test-options
|
||||||
@ -231,19 +268,74 @@ test-suite Data.List.Base
|
|||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: Streamly/Test/Data/List.hs
|
main-is: Streamly/Test/Data/List.hs
|
||||||
|
|
||||||
test-suite Data.Array.Generic
|
test-suite Data.MutArray
|
||||||
import: test-options
|
import: test-options
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: Streamly/Test/Data/Array/Generic.hs
|
main-is: Streamly/Test/Data/MutArray.hs
|
||||||
ghc-options: -main-is Streamly.Test.Data.Array.Generic.main
|
ghc-options: -main-is Streamly.Test.Data.MutArray.main
|
||||||
|
|
||||||
|
test-suite Data.Parser
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/Parser.hs
|
||||||
|
if flag(limit-build-mem)
|
||||||
|
ghc-options: +RTS -M4000M -RTS
|
||||||
|
|
||||||
|
test-suite Data.ParserK
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/ParserK.hs
|
||||||
|
if flag(limit-build-mem)
|
||||||
|
ghc-options: +RTS -M1500M -RTS
|
||||||
|
|
||||||
|
test-suite Data.Ring.Unboxed
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/Ring/Unboxed.hs
|
||||||
|
ghc-options: -main-is Streamly.Test.Data.Ring.Unboxed.main
|
||||||
if flag(use-streamly-core)
|
if flag(use-streamly-core)
|
||||||
buildable: False
|
buildable: False
|
||||||
|
|
||||||
test-suite Data.Array
|
-- XXX Rename to MutByteArray
|
||||||
|
test-suite Data.Serialize
|
||||||
import: test-options
|
import: test-options
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: Streamly/Test/Data/Array.hs
|
main-is: Streamly/Test/Data/Serialize.hs
|
||||||
ghc-options: -main-is Streamly.Test.Data.Array.main
|
other-modules:
|
||||||
|
Streamly.Test.Data.Serialize.TH
|
||||||
|
Streamly.Test.Data.Serialize.CompatV0
|
||||||
|
Streamly.Test.Data.Serialize.CompatV1
|
||||||
|
ghc-options: -main-is Streamly.Test.Data.Serialize.main
|
||||||
|
if flag(limit-build-mem)
|
||||||
|
ghc-options: +RTS -M1500M -RTS
|
||||||
|
|
||||||
|
test-suite Data.Serialize.Derive.TH
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
cpp-options: -DUSE_SERIALIZE
|
||||||
|
main-is: Streamly/Test/Data/Unbox.hs
|
||||||
|
ghc-options: -main-is Streamly.Test.Data.Unbox.main
|
||||||
|
|
||||||
|
test-suite Data.Serialize.ENABLE_constructorTagAsString
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/Serialize.hs
|
||||||
|
other-modules:
|
||||||
|
Streamly.Test.Data.Serialize.TH
|
||||||
|
Streamly.Test.Data.Serialize.CompatV0
|
||||||
|
Streamly.Test.Data.Serialize.CompatV1
|
||||||
|
cpp-options: -DENABLE_constructorTagAsString
|
||||||
|
ghc-options: -main-is Streamly.Test.Data.Serialize.main
|
||||||
|
if flag(limit-build-mem)
|
||||||
|
ghc-options: +RTS -M1500M -RTS
|
||||||
|
|
||||||
|
test-suite Data.SmallArray
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Data/SmallArray.hs
|
||||||
|
ghc-options: -main-is Streamly.Test.Data.SmallArray.main
|
||||||
|
if !flag(dev) || flag(use-streamly-core)
|
||||||
|
buildable: False
|
||||||
|
|
||||||
test-suite Data.Stream
|
test-suite Data.Stream
|
||||||
import: test-options
|
import: test-options
|
||||||
@ -271,20 +363,7 @@ test-suite Data.Stream.Rate
|
|||||||
if flag(use-streamly-core)
|
if flag(use-streamly-core)
|
||||||
buildable: False
|
buildable: False
|
||||||
|
|
||||||
test-suite Data.MutArray
|
-- XXX Rename to MutByteArray.Unbox
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/MutArray.hs
|
|
||||||
ghc-options: -main-is Streamly.Test.Data.MutArray.main
|
|
||||||
|
|
||||||
test-suite Data.Ring.Unboxed
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/Ring/Unboxed.hs
|
|
||||||
ghc-options: -main-is Streamly.Test.Data.Ring.Unboxed.main
|
|
||||||
if flag(use-streamly-core)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
test-suite Data.Unbox.Derive.Generic
|
test-suite Data.Unbox.Derive.Generic
|
||||||
import: test-options
|
import: test-options
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
@ -298,84 +377,12 @@ test-suite Data.Unbox.Derive.TH
|
|||||||
main-is: Streamly/Test/Data/Unbox.hs
|
main-is: Streamly/Test/Data/Unbox.hs
|
||||||
ghc-options: -main-is Streamly.Test.Data.Unbox.main
|
ghc-options: -main-is Streamly.Test.Data.Unbox.main
|
||||||
|
|
||||||
test-suite Data.Serialize.Derive.TH
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
cpp-options: -DUSE_SERIALIZE
|
|
||||||
main-is: Streamly/Test/Data/Unbox.hs
|
|
||||||
ghc-options: -main-is Streamly.Test.Data.Unbox.main
|
|
||||||
|
|
||||||
test-suite Data.Unbox.TH
|
test-suite Data.Unbox.TH
|
||||||
import: test-options
|
import: test-options
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: Streamly/Test/Data/Unbox/TH.hs
|
main-is: Streamly/Test/Data/Unbox/TH.hs
|
||||||
ghc-options: -main-is Streamly.Test.Data.Unbox.TH.main
|
ghc-options: -main-is Streamly.Test.Data.Unbox.TH.main
|
||||||
|
|
||||||
test-suite Data.Serialize
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/Serialize.hs
|
|
||||||
other-modules:
|
|
||||||
Streamly.Test.Data.Serialize.TH
|
|
||||||
Streamly.Test.Data.Serialize.CompatV0
|
|
||||||
Streamly.Test.Data.Serialize.CompatV1
|
|
||||||
ghc-options: -main-is Streamly.Test.Data.Serialize.main
|
|
||||||
if flag(limit-build-mem)
|
|
||||||
ghc-options: +RTS -M1500M -RTS
|
|
||||||
|
|
||||||
test-suite Data.Serialize.ENABLE_constructorTagAsString
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/Serialize.hs
|
|
||||||
other-modules:
|
|
||||||
Streamly.Test.Data.Serialize.TH
|
|
||||||
Streamly.Test.Data.Serialize.CompatV0
|
|
||||||
Streamly.Test.Data.Serialize.CompatV1
|
|
||||||
cpp-options: -DENABLE_constructorTagAsString
|
|
||||||
ghc-options: -main-is Streamly.Test.Data.Serialize.main
|
|
||||||
if flag(limit-build-mem)
|
|
||||||
ghc-options: +RTS -M1500M -RTS
|
|
||||||
|
|
||||||
test-suite Data.Array.Stream
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/Array/Stream.hs
|
|
||||||
if flag(use-streamly-core)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
test-suite Data.Fold
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/Fold.hs
|
|
||||||
|
|
||||||
test-suite Data.Fold.Window
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/Fold/Window.hs
|
|
||||||
ghc-options: -main-is Streamly.Test.Data.Fold.Window.main
|
|
||||||
|
|
||||||
test-suite Data.Parser
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/Parser.hs
|
|
||||||
if flag(limit-build-mem)
|
|
||||||
ghc-options: +RTS -M4000M -RTS
|
|
||||||
|
|
||||||
test-suite Data.ParserK
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/ParserK.hs
|
|
||||||
if flag(limit-build-mem)
|
|
||||||
ghc-options: +RTS -M1500M -RTS
|
|
||||||
|
|
||||||
test-suite Data.SmallArray
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Data/SmallArray.hs
|
|
||||||
ghc-options: -main-is Streamly.Test.Data.SmallArray.main
|
|
||||||
if !flag(dev) || flag(use-streamly-core)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
test-suite Data.Unfold
|
test-suite Data.Unfold
|
||||||
import: test-options
|
import: test-options
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
@ -460,6 +467,39 @@ test-suite Network.Socket
|
|||||||
if flag(use-streamly-core)
|
if flag(use-streamly-core)
|
||||||
buildable: False
|
buildable: False
|
||||||
|
|
||||||
|
test-suite Unicode.Char
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Unicode/Char.hs
|
||||||
|
ghc-options: -main-is Streamly.Test.Unicode.Char.main
|
||||||
|
if flag(use-streamly-core) || !flag(dev)
|
||||||
|
buildable: False
|
||||||
|
|
||||||
|
test-suite Unicode.Parser
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Unicode/Parser.hs
|
||||||
|
ghc-options: -main-is Streamly.Test.Unicode.Parser.main
|
||||||
|
if flag(use-streamly-core)
|
||||||
|
buildable: False
|
||||||
|
|
||||||
|
test-suite Unicode.Stream
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Streamly/Test/Unicode/Stream.hs
|
||||||
|
ghc-options: -main-is Streamly.Test.Unicode.Stream.main
|
||||||
|
if flag(use-streamly-core)
|
||||||
|
buildable: False
|
||||||
|
|
||||||
|
test-suite version-bounds
|
||||||
|
import: test-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: version-bounds.hs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
-- Deprecated
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
test-suite Prelude
|
test-suite Prelude
|
||||||
import: test-options
|
import: test-options
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
@ -572,37 +612,3 @@ test-suite Prelude.ZipSerial
|
|||||||
ghc-options: -main-is Streamly.Test.Prelude.ZipSerial.main
|
ghc-options: -main-is Streamly.Test.Prelude.ZipSerial.main
|
||||||
if flag(use-streamly-core)
|
if flag(use-streamly-core)
|
||||||
buildable: False
|
buildable: False
|
||||||
|
|
||||||
test-suite Unicode.Stream
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Unicode/Stream.hs
|
|
||||||
ghc-options: -main-is Streamly.Test.Unicode.Stream.main
|
|
||||||
if flag(use-streamly-core)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
test-suite Unicode.Parser
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Unicode/Parser.hs
|
|
||||||
ghc-options: -main-is Streamly.Test.Unicode.Parser.main
|
|
||||||
if flag(use-streamly-core)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
test-suite Unicode.Char
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Unicode/Char.hs
|
|
||||||
ghc-options: -main-is Streamly.Test.Unicode.Char.main
|
|
||||||
if flag(use-streamly-core) || !flag(dev)
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
test-suite Serialize.Serializable
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Streamly/Test/Serialize/Serializable.hs
|
|
||||||
|
|
||||||
test-suite version-bounds
|
|
||||||
import: test-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: version-bounds.hs
|
|
||||||
|
Loading…
Reference in New Issue
Block a user