summary refs log tree commit diff stats
path: root/tests/parallel/tarray_of_channels.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parallel/tarray_of_channels.nim')
-rw-r--r--tests/parallel/tarray_of_channels.nim15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/parallel/tarray_of_channels.nim b/tests/parallel/tarray_of_channels.nim
index 90ae8369c..9479227aa 100644
--- a/tests/parallel/tarray_of_channels.nim
+++ b/tests/parallel/tarray_of_channels.nim
@@ -1,3 +1,16 @@
+discard """
+sortoutput: true
+output: '''
+(x: 0.0)
+(x: 0.0)
+(x: 0.0)
+test
+test
+test
+'''
+disabled: "openbsd"
+"""
+
 # bug #2257
 import threadpool
 
@@ -22,5 +35,5 @@ proc main =
   sync()
   for ix in 1..3: channels[ix].close()
 
-when isMainModule:
+when true:
   main()