on master help sign in
List test suites in sorted order
commitd0f5261d7600ac11de083bdb6f7ed21d3f0fae96 authorHarendra Kumar <harendra@composewell.com> dateMon 4 Jan 2021, 02:39 (6 years ago) parent1abb9c7
1 file changed+92−88
test/streamly-tests.cabal+92−88
test/streamly-tests.cabal+92−88
@@ -152,7 +152,7 @@ library
152152 , Streamly.Test.Prelude.Common
153153
154154-------------------------------------------------------------------------------
155−-- Test suites
155+-- Test suite options
156156-------------------------------------------------------------------------------
157157
158158common test-options
@@ -174,10 +174,9 @@ common always-optimized
174174 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
175175 ghc-options: -fplugin Fusion.Plugin
176176
177−test-suite Data.List.Base
178− import: test-options
179− type: exitcode-stdio-1.0
180− main-is: Streamly/Test/Data/List.hs
177+-------------------------------------------------------------------------------
178+-- Test suites in sorted order
179+-------------------------------------------------------------------------------
181180
182181test-suite Data.List
183182 import: test-options
@@ -185,165 +184,170 @@ test-suite Data.List
185184 main-is: Streamly/Test/Data/List.hs
186185 cpp-options: -DUSE_STREAMLY_LIST
187186
188−test-suite Prelude
187+test-suite Data.List.Base
189188 import: test-options
190189 type: exitcode-stdio-1.0
191− main-is: Streamly/Test/Prelude.hs
192− ghc-options: -main-is Streamly.Test.Prelude.main
190+ main-is: Streamly/Test/Data/List.hs
193191
194−test-suite Prelude.Serial
192+test-suite Data.Array
195193 import: test-options
196194 type: exitcode-stdio-1.0
197− main-is: Streamly/Test/Prelude/Serial.hs
198− ghc-options: -main-is Streamly.Test.Prelude.Serial.main
199− +RTS -M1024M -RTS
195+ main-is: Streamly/Test/Data/Array.hs
196+ ghc-options: -main-is Streamly.Test.Data.Array.main
200197
201−test-suite Prelude.WSerial
198+test-suite Data.Array.Prim
202199 import: test-options
203200 type: exitcode-stdio-1.0
204− main-is: Streamly/Test/Prelude/WSerial.hs
205− ghc-options: -main-is Streamly.Test.Prelude.WSerial.main
201+ main-is: Streamly/Test/Data/Array/Prim.hs
202+ ghc-options: -main-is Streamly.Test.Data.Array.Prim.main
206203
207−test-suite Prelude.ZipSerial
204+test-suite Data.Array.Prim.Pinned
208205 import: test-options
209206 type: exitcode-stdio-1.0
210− main-is: Streamly/Test/Prelude/ZipSerial.hs
211− ghc-options: -main-is Streamly.Test.Prelude.ZipSerial.main
207+ main-is: Streamly/Test/Data/Array/Prim/Pinned.hs
208+ ghc-options: -main-is Streamly.Test.Data.Array.Prim.Pinned.main
212209
213−test-suite Prelude.ZipAsync
210+test-suite Data.Array.Storable.Foreign
214211 import: test-options
215212 type: exitcode-stdio-1.0
216− main-is: Streamly/Test/Prelude/ZipAsync.hs
217− ghc-options: -main-is Streamly.Test.Prelude.ZipAsync.main
213+ main-is: Streamly/Test/Data/Array/Storable/Foreign.hs
214+ ghc-options: -main-is Streamly.Test.Data.Array.Storable.Foreign.main
218215
219−test-suite Prelude.Ahead
216+test-suite Data.Fold
220217 import: test-options
221218 type: exitcode-stdio-1.0
222− main-is: Streamly/Test/Prelude/Ahead.hs
223− ghc-options: -main-is Streamly.Test.Prelude.Ahead.main
219+ main-is: Streamly/Test/Data/Fold.hs
224220
225−test-suite Prelude.Async
221+test-suite Data.Parser
226222 import: test-options
227223 type: exitcode-stdio-1.0
228− main-is: Streamly/Test/Prelude/Async.hs
229− ghc-options: -main-is Streamly.Test.Prelude.Async.main
224+ main-is: Streamly/Test/Data/Parser.hs
230225
231−test-suite Prelude.WAsync
226+test-suite Data.Parser.ParserD
232227 import: test-options
233228 type: exitcode-stdio-1.0
234− main-is: Streamly/Test/Prelude/WAsync.hs
235− ghc-options: -main-is Streamly.Test.Prelude.WAsync.main
229+ main-is: Streamly/Test/Data/Parser/ParserD.hs
230+ ghc-options: +RTS -M1000M -RTS
236231
237−test-suite Prelude.Parallel
232+test-suite Data.SmallArray
238233 import: test-options
239234 type: exitcode-stdio-1.0
240− main-is: Streamly/Test/Prelude/Parallel.hs
241− ghc-options: -main-is Streamly.Test.Prelude.Parallel.main
235+ main-is: Streamly/Test/Data/SmallArray.hs
236+ ghc-options: -main-is Streamly.Test.Data.SmallArray.main
242237
243−test-suite Prelude.Concurrent
238+test-suite Data.Unfold
244239 import: test-options
245240 type: exitcode-stdio-1.0
246− main-is: Streamly/Test/Prelude/Concurrent.hs
247− ghc-options: -main-is Streamly.Test.Prelude.Concurrent.main
248− +RTS -M2000M -RTS
241+ main-is: Streamly/Test/Data/Unfold.hs
249242
250−test-suite Prelude.Fold
243+test-suite FileSystem.Event
251244 import: test-options
252245 type: exitcode-stdio-1.0
253− main-is: Streamly/Test/Prelude/Fold.hs
254− ghc-options: -main-is Streamly.Test.Prelude.Fold.main
246+ main-is: Streamly/Test/FileSystem/Event.hs
247+ if os(darwin)
248+ buildable: False
255249
256−test-suite Prelude.Rate
257− import:always-optimized
250+test-suite FileSystem.Handle
251+ import: test-options
258252 type: exitcode-stdio-1.0
259− main-is: Streamly/Test/Prelude/Rate.hs
260− ghc-options: -main-is Streamly.Test.Prelude.Rate.main
261− if flag(dev)
262− buildable: True
263− else
264− buildable: False
253+ main-is: Streamly/Test/FileSystem/Handle.hs
254+ ghc-options: -main-is Streamly.Test.FileSystem.Handle.main
265255
266−test-suite Data.Array.Storable.Foreign
256+test-suite Network.Inet.TCP
267257 import: test-options
268258 type: exitcode-stdio-1.0
269− main-is: Streamly/Test/Data/Array/Storable/Foreign.hs
270− ghc-options: -main-is Streamly.Test.Data.Array.Storable.Foreign.main
259+ main-is: Streamly/Test/Network/Inet/TCP.hs
271260
272−test-suite Data.Fold
261+test-suite Network.Socket
273262 import: test-options
274263 type: exitcode-stdio-1.0
275− main-is: Streamly/Test/Data/Fold.hs
264+ main-is: Streamly/Test/Network/Socket.hs
276265
277−test-suite Data.Unfold
266+test-suite Prelude
278267 import: test-options
279268 type: exitcode-stdio-1.0
280− main-is: Streamly/Test/Data/Unfold.hs
269+ main-is: Streamly/Test/Prelude.hs
270+ ghc-options: -main-is Streamly.Test.Prelude.main
281271
282−test-suite Data.Parser
272+test-suite Prelude.Ahead
283273 import: test-options
284274 type: exitcode-stdio-1.0
285− main-is: Streamly/Test/Data/Parser.hs
275+ main-is: Streamly/Test/Prelude/Ahead.hs
276+ ghc-options: -main-is Streamly.Test.Prelude.Ahead.main
286277
287−test-suite Data.Parser.ParserD
278+test-suite Prelude.Async
288279 import: test-options
289280 type: exitcode-stdio-1.0
290− main-is: Streamly/Test/Data/Parser/ParserD.hs
291− ghc-options: +RTS -M1000M -RTS
281+ main-is: Streamly/Test/Prelude/Async.hs
282+ ghc-options: -main-is Streamly.Test.Prelude.Async.main
292283
293−test-suite Data.Array
284+test-suite Prelude.Concurrent
294285 import: test-options
295286 type: exitcode-stdio-1.0
296− main-is: Streamly/Test/Data/Array.hs
297− ghc-options: -main-is Streamly.Test.Data.Array.main
287+ main-is: Streamly/Test/Prelude/Concurrent.hs
288+ ghc-options: -main-is Streamly.Test.Prelude.Concurrent.main
289+ +RTS -M2000M -RTS
298290
299−test-suite Data.SmallArray
291+test-suite Prelude.Fold
300292 import: test-options
301293 type: exitcode-stdio-1.0
302− main-is: Streamly/Test/Data/SmallArray.hs
303− ghc-options: -main-is Streamly.Test.Data.SmallArray.main
294+ main-is: Streamly/Test/Prelude/Fold.hs
295+ ghc-options: -main-is Streamly.Test.Prelude.Fold.main
304296
305−test-suite Data.Array.Prim
297+test-suite Prelude.Parallel
306298 import: test-options
307299 type: exitcode-stdio-1.0
308− main-is: Streamly/Test/Data/Array/Prim.hs
309− ghc-options: -main-is Streamly.Test.Data.Array.Prim.main
300+ main-is: Streamly/Test/Prelude/Parallel.hs
301+ ghc-options: -main-is Streamly.Test.Prelude.Parallel.main
310302
311−test-suite Data.Array.Prim.Pinned
303+test-suite Prelude.Rate
304+ import:always-optimized
305+ type: exitcode-stdio-1.0
306+ main-is: Streamly/Test/Prelude/Rate.hs
307+ ghc-options: -main-is Streamly.Test.Prelude.Rate.main
308+ if flag(dev)
309+ buildable: True
310+ else
311+ buildable: False
312+
313+test-suite Prelude.Serial
312314 import: test-options
313315 type: exitcode-stdio-1.0
314− main-is: Streamly/Test/Data/Array/Prim/Pinned.hs
315− ghc-options: -main-is Streamly.Test.Data.Array.Prim.Pinned.main
316+ main-is: Streamly/Test/Prelude/Serial.hs
317+ ghc-options: -main-is Streamly.Test.Prelude.Serial.main
318+ +RTS -M1024M -RTS
316319
317−test-suite Unicode.Stream
320+test-suite Prelude.WAsync
318321 import: test-options
319322 type: exitcode-stdio-1.0
320− main-is: Streamly/Test/Unicode/Stream.hs
321− ghc-options: -main-is Streamly.Test.Unicode.Stream.main
323+ main-is: Streamly/Test/Prelude/WAsync.hs
324+ ghc-options: -main-is Streamly.Test.Prelude.WAsync.main
322325
323−test-suite version-bounds
326+test-suite Prelude.WSerial
324327 import: test-options
325328 type: exitcode-stdio-1.0
326− main-is: version-bounds.hs
329+ main-is: Streamly/Test/Prelude/WSerial.hs
330+ ghc-options: -main-is Streamly.Test.Prelude.WSerial.main
327331
328−test-suite FileSystem.Event
332+test-suite Prelude.ZipAsync
329333 import: test-options
330334 type: exitcode-stdio-1.0
331− main-is: Streamly/Test/FileSystem/Event.hs
332− if os(darwin)
333− buildable: False
335+ main-is: Streamly/Test/Prelude/ZipAsync.hs
336+ ghc-options: -main-is Streamly.Test.Prelude.ZipAsync.main
334337
335−test-suite FileSystem.Handle
338+test-suite Prelude.ZipSerial
336339 import: test-options
337340 type: exitcode-stdio-1.0
338− main-is: Streamly/Test/FileSystem/Handle.hs
339− ghc-options: -main-is Streamly.Test.FileSystem.Handle.main
341+ main-is: Streamly/Test/Prelude/ZipSerial.hs
342+ ghc-options: -main-is Streamly.Test.Prelude.ZipSerial.main
340343
341−test-suite Network.Socket
344+test-suite Unicode.Stream
342345 import: test-options
343346 type: exitcode-stdio-1.0
344− main-is: Streamly/Test/Network/Socket.hs
347+ main-is: Streamly/Test/Unicode/Stream.hs
348+ ghc-options: -main-is Streamly.Test.Unicode.Stream.main
345349
346−test-suite Network.Inet.TCP
350+test-suite version-bounds
347351 import: test-options
348352 type: exitcode-stdio-1.0
349− main-is: Streamly/Test/Network/Inet/TCP.hs
353+ main-is: version-bounds.hs