on master help sign in
List test suites in sorted order
d0f5261Harendra Kumar
test/streamly-tests.cabal+92−88
@@ -152,7 +152,7 @@ library
152 , Streamly.Test.Prelude.Common
152 , Streamly.Test.Prelude.Common
153
153
154-------------------------------------------------------------------------------
154-------------------------------------------------------------------------------
155−-- Test suites
155+-- Test suite options
156-------------------------------------------------------------------------------
156-------------------------------------------------------------------------------
157
157
158common test-options
158common test-options
@@ -174,10 +174,9 @@ common always-optimized
174 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
174 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
175 ghc-options: -fplugin Fusion.Plugin
175 ghc-options: -fplugin Fusion.Plugin
176
176
177−test-suite Data.List.Base
177+-------------------------------------------------------------------------------
178− import: test-options
178+-- Test suites in sorted order
179− type: exitcode-stdio-1.0
179+-------------------------------------------------------------------------------
180− main-is: Streamly/Test/Data/List.hs
181
180
182test-suite Data.List
181test-suite Data.List
183 import: test-options
182 import: test-options
@@ -185,165 +184,170 @@ test-suite Data.List
185 main-is: Streamly/Test/Data/List.hs
184 main-is: Streamly/Test/Data/List.hs
186 cpp-options: -DUSE_STREAMLY_LIST
185 cpp-options: -DUSE_STREAMLY_LIST
187
186
188−test-suite Prelude
187+test-suite Data.List.Base
189 import: test-options
188 import: test-options
190 type: exitcode-stdio-1.0
189 type: exitcode-stdio-1.0
191− main-is: Streamly/Test/Prelude.hs
190+ main-is: Streamly/Test/Data/List.hs
192− ghc-options: -main-is Streamly.Test.Prelude.main
193
191
194−test-suite Prelude.Serial
192+test-suite Data.Array
195 import: test-options
193 import: test-options
196 type: exitcode-stdio-1.0
194 type: exitcode-stdio-1.0
197− main-is: Streamly/Test/Prelude/Serial.hs
195+ main-is: Streamly/Test/Data/Array.hs
198− ghc-options: -main-is Streamly.Test.Prelude.Serial.main
196+ ghc-options: -main-is Streamly.Test.Data.Array.main
199− +RTS -M1024M -RTS
200
197
201−test-suite Prelude.WSerial
198+test-suite Data.Array.Prim
202 import: test-options
199 import: test-options
203 type: exitcode-stdio-1.0
200 type: exitcode-stdio-1.0
204− main-is: Streamly/Test/Prelude/WSerial.hs
201+ main-is: Streamly/Test/Data/Array/Prim.hs
205− ghc-options: -main-is Streamly.Test.Prelude.WSerial.main
202+ ghc-options: -main-is Streamly.Test.Data.Array.Prim.main
206
203
207−test-suite Prelude.ZipSerial
204+test-suite Data.Array.Prim.Pinned
208 import: test-options
205 import: test-options
209 type: exitcode-stdio-1.0
206 type: exitcode-stdio-1.0
210− main-is: Streamly/Test/Prelude/ZipSerial.hs
207+ main-is: Streamly/Test/Data/Array/Prim/Pinned.hs
211− ghc-options: -main-is Streamly.Test.Prelude.ZipSerial.main
208+ ghc-options: -main-is Streamly.Test.Data.Array.Prim.Pinned.main
212
209
213−test-suite Prelude.ZipAsync
210+test-suite Data.Array.Storable.Foreign
214 import: test-options
211 import: test-options
215 type: exitcode-stdio-1.0
212 type: exitcode-stdio-1.0
216− main-is: Streamly/Test/Prelude/ZipAsync.hs
213+ main-is: Streamly/Test/Data/Array/Storable/Foreign.hs
217− ghc-options: -main-is Streamly.Test.Prelude.ZipAsync.main
214+ ghc-options: -main-is Streamly.Test.Data.Array.Storable.Foreign.main
218
215
219−test-suite Prelude.Ahead
216+test-suite Data.Fold
220 import: test-options
217 import: test-options
221 type: exitcode-stdio-1.0
218 type: exitcode-stdio-1.0
222− main-is: Streamly/Test/Prelude/Ahead.hs
219+ main-is: Streamly/Test/Data/Fold.hs
223− ghc-options: -main-is Streamly.Test.Prelude.Ahead.main
224
220
225−test-suite Prelude.Async
221+test-suite Data.Parser
226 import: test-options
222 import: test-options
227 type: exitcode-stdio-1.0
223 type: exitcode-stdio-1.0
228− main-is: Streamly/Test/Prelude/Async.hs
224+ main-is: Streamly/Test/Data/Parser.hs
229− ghc-options: -main-is Streamly.Test.Prelude.Async.main
230
225
231−test-suite Prelude.WAsync
226+test-suite Data.Parser.ParserD
232 import: test-options
227 import: test-options
233 type: exitcode-stdio-1.0
228 type: exitcode-stdio-1.0
234− main-is: Streamly/Test/Prelude/WAsync.hs
229+ main-is: Streamly/Test/Data/Parser/ParserD.hs
235− ghc-options: -main-is Streamly.Test.Prelude.WAsync.main
230+ ghc-options: +RTS -M1000M -RTS
236
231
237−test-suite Prelude.Parallel
232+test-suite Data.SmallArray
238 import: test-options
233 import: test-options
239 type: exitcode-stdio-1.0
234 type: exitcode-stdio-1.0
240− main-is: Streamly/Test/Prelude/Parallel.hs
235+ main-is: Streamly/Test/Data/SmallArray.hs
241− ghc-options: -main-is Streamly.Test.Prelude.Parallel.main
236+ ghc-options: -main-is Streamly.Test.Data.SmallArray.main
242
237
243−test-suite Prelude.Concurrent
238+test-suite Data.Unfold
244 import: test-options
239 import: test-options
245 type: exitcode-stdio-1.0
240 type: exitcode-stdio-1.0
246− main-is: Streamly/Test/Prelude/Concurrent.hs
241+ main-is: Streamly/Test/Data/Unfold.hs
247− ghc-options: -main-is Streamly.Test.Prelude.Concurrent.main
248− +RTS -M2000M -RTS
249
242
250−test-suite Prelude.Fold
243+test-suite FileSystem.Event
251 import: test-options
244 import: test-options
252 type: exitcode-stdio-1.0
245 type: exitcode-stdio-1.0
253− main-is: Streamly/Test/Prelude/Fold.hs
246+ main-is: Streamly/Test/FileSystem/Event.hs
254− ghc-options: -main-is Streamly.Test.Prelude.Fold.main
247+ if os(darwin)
248+ buildable: False
255
249
256−test-suite Prelude.Rate
250+test-suite FileSystem.Handle
257− import:always-optimized
251+ import: test-options
258 type: exitcode-stdio-1.0
252 type: exitcode-stdio-1.0
259− main-is: Streamly/Test/Prelude/Rate.hs
253+ main-is: Streamly/Test/FileSystem/Handle.hs
260− ghc-options: -main-is Streamly.Test.Prelude.Rate.main
254+ ghc-options: -main-is Streamly.Test.FileSystem.Handle.main
261− if flag(dev)
262− buildable: True
263− else
264− buildable: False
265
255
266−test-suite Data.Array.Storable.Foreign
256+test-suite Network.Inet.TCP
267 import: test-options
257 import: test-options
268 type: exitcode-stdio-1.0
258 type: exitcode-stdio-1.0
269− main-is: Streamly/Test/Data/Array/Storable/Foreign.hs
259+ main-is: Streamly/Test/Network/Inet/TCP.hs
270− ghc-options: -main-is Streamly.Test.Data.Array.Storable.Foreign.main
271
260
272−test-suite Data.Fold
261+test-suite Network.Socket
273 import: test-options
262 import: test-options
274 type: exitcode-stdio-1.0
263 type: exitcode-stdio-1.0
275− main-is: Streamly/Test/Data/Fold.hs
264+ main-is: Streamly/Test/Network/Socket.hs
276
265
277−test-suite Data.Unfold
266+test-suite Prelude
278 import: test-options
267 import: test-options
279 type: exitcode-stdio-1.0
268 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
281
271
282−test-suite Data.Parser
272+test-suite Prelude.Ahead
283 import: test-options
273 import: test-options
284 type: exitcode-stdio-1.0
274 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
286
277
287−test-suite Data.Parser.ParserD
278+test-suite Prelude.Async
288 import: test-options
279 import: test-options
289 type: exitcode-stdio-1.0
280 type: exitcode-stdio-1.0
290− main-is: Streamly/Test/Data/Parser/ParserD.hs
281+ main-is: Streamly/Test/Prelude/Async.hs
291− ghc-options: +RTS -M1000M -RTS
282+ ghc-options: -main-is Streamly.Test.Prelude.Async.main
292
283
293−test-suite Data.Array
284+test-suite Prelude.Concurrent
294 import: test-options
285 import: test-options
295 type: exitcode-stdio-1.0
286 type: exitcode-stdio-1.0
296− main-is: Streamly/Test/Data/Array.hs
287+ main-is: Streamly/Test/Prelude/Concurrent.hs
297− ghc-options: -main-is Streamly.Test.Data.Array.main
288+ ghc-options: -main-is Streamly.Test.Prelude.Concurrent.main
289+ +RTS -M2000M -RTS
298
290
299−test-suite Data.SmallArray
291+test-suite Prelude.Fold
300 import: test-options
292 import: test-options
301 type: exitcode-stdio-1.0
293 type: exitcode-stdio-1.0
302− main-is: Streamly/Test/Data/SmallArray.hs
294+ main-is: Streamly/Test/Prelude/Fold.hs
303− ghc-options: -main-is Streamly.Test.Data.SmallArray.main
295+ ghc-options: -main-is Streamly.Test.Prelude.Fold.main
304
296
305−test-suite Data.Array.Prim
297+test-suite Prelude.Parallel
306 import: test-options
298 import: test-options
307 type: exitcode-stdio-1.0
299 type: exitcode-stdio-1.0
308− main-is: Streamly/Test/Data/Array/Prim.hs
300+ main-is: Streamly/Test/Prelude/Parallel.hs
309− ghc-options: -main-is Streamly.Test.Data.Array.Prim.main
301+ ghc-options: -main-is Streamly.Test.Prelude.Parallel.main
310
302
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
312 import: test-options
314 import: test-options
313 type: exitcode-stdio-1.0
315 type: exitcode-stdio-1.0
314− main-is: Streamly/Test/Data/Array/Prim/Pinned.hs
316+ main-is: Streamly/Test/Prelude/Serial.hs
315− ghc-options: -main-is Streamly.Test.Data.Array.Prim.Pinned.main
317+ ghc-options: -main-is Streamly.Test.Prelude.Serial.main
318+ +RTS -M1024M -RTS
316
319
317−test-suite Unicode.Stream
320+test-suite Prelude.WAsync
318 import: test-options
321 import: test-options
319 type: exitcode-stdio-1.0
322 type: exitcode-stdio-1.0
320− main-is: Streamly/Test/Unicode/Stream.hs
323+ main-is: Streamly/Test/Prelude/WAsync.hs
321− ghc-options: -main-is Streamly.Test.Unicode.Stream.main
324+ ghc-options: -main-is Streamly.Test.Prelude.WAsync.main
322
325
323−test-suite version-bounds
326+test-suite Prelude.WSerial
324 import: test-options
327 import: test-options
325 type: exitcode-stdio-1.0
328 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
327
331
328−test-suite FileSystem.Event
332+test-suite Prelude.ZipAsync
329 import: test-options
333 import: test-options
330 type: exitcode-stdio-1.0
334 type: exitcode-stdio-1.0
331− main-is: Streamly/Test/FileSystem/Event.hs
335+ main-is: Streamly/Test/Prelude/ZipAsync.hs
332− if os(darwin)
336+ ghc-options: -main-is Streamly.Test.Prelude.ZipAsync.main
333− buildable: False
334
337
335−test-suite FileSystem.Handle
338+test-suite Prelude.ZipSerial
336 import: test-options
339 import: test-options
337 type: exitcode-stdio-1.0
340 type: exitcode-stdio-1.0
338− main-is: Streamly/Test/FileSystem/Handle.hs
341+ main-is: Streamly/Test/Prelude/ZipSerial.hs
339− ghc-options: -main-is Streamly.Test.FileSystem.Handle.main
342+ ghc-options: -main-is Streamly.Test.Prelude.ZipSerial.main
340
343
341−test-suite Network.Socket
344+test-suite Unicode.Stream
342 import: test-options
345 import: test-options
343 type: exitcode-stdio-1.0
346 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
345
349
346−test-suite Network.Inet.TCP
350+test-suite version-bounds
347 import: test-options
351 import: test-options
348 type: exitcode-stdio-1.0
352 type: exitcode-stdio-1.0
349− main-is: Streamly/Test/Network/Inet/TCP.hs
353+ main-is: version-bounds.hs