11cb0ef41Sopenharmony_ciTAP version 13
21cb0ef41Sopenharmony_ci# Subtest: only = undefined
31cb0ef41Sopenharmony_ciok 1 - only = undefined # SKIP 'only' option not set
41cb0ef41Sopenharmony_ci  ---
51cb0ef41Sopenharmony_ci  duration_ms: *
61cb0ef41Sopenharmony_ci  ...
71cb0ef41Sopenharmony_ci# Subtest: only = undefined, skip = string
81cb0ef41Sopenharmony_ciok 2 - only = undefined, skip = string # SKIP 'only' option not set
91cb0ef41Sopenharmony_ci  ---
101cb0ef41Sopenharmony_ci  duration_ms: *
111cb0ef41Sopenharmony_ci  ...
121cb0ef41Sopenharmony_ci# Subtest: only = undefined, skip = true
131cb0ef41Sopenharmony_ciok 3 - only = undefined, skip = true # SKIP 'only' option not set
141cb0ef41Sopenharmony_ci  ---
151cb0ef41Sopenharmony_ci  duration_ms: *
161cb0ef41Sopenharmony_ci  ...
171cb0ef41Sopenharmony_ci# Subtest: only = undefined, skip = false
181cb0ef41Sopenharmony_ciok 4 - only = undefined, skip = false # SKIP 'only' option not set
191cb0ef41Sopenharmony_ci  ---
201cb0ef41Sopenharmony_ci  duration_ms: *
211cb0ef41Sopenharmony_ci  ...
221cb0ef41Sopenharmony_ci# Subtest: only = false
231cb0ef41Sopenharmony_ciok 5 - only = false # SKIP 'only' option not set
241cb0ef41Sopenharmony_ci  ---
251cb0ef41Sopenharmony_ci  duration_ms: *
261cb0ef41Sopenharmony_ci  ...
271cb0ef41Sopenharmony_ci# Subtest: only = false, skip = string
281cb0ef41Sopenharmony_ciok 6 - only = false, skip = string # SKIP 'only' option not set
291cb0ef41Sopenharmony_ci  ---
301cb0ef41Sopenharmony_ci  duration_ms: *
311cb0ef41Sopenharmony_ci  ...
321cb0ef41Sopenharmony_ci# Subtest: only = false, skip = true
331cb0ef41Sopenharmony_ciok 7 - only = false, skip = true # SKIP 'only' option not set
341cb0ef41Sopenharmony_ci  ---
351cb0ef41Sopenharmony_ci  duration_ms: *
361cb0ef41Sopenharmony_ci  ...
371cb0ef41Sopenharmony_ci# Subtest: only = false, skip = false
381cb0ef41Sopenharmony_ciok 8 - only = false, skip = false # SKIP 'only' option not set
391cb0ef41Sopenharmony_ci  ---
401cb0ef41Sopenharmony_ci  duration_ms: *
411cb0ef41Sopenharmony_ci  ...
421cb0ef41Sopenharmony_ci# Subtest: only = true, skip = string
431cb0ef41Sopenharmony_ciok 9 - only = true, skip = string # SKIP skip message
441cb0ef41Sopenharmony_ci  ---
451cb0ef41Sopenharmony_ci  duration_ms: *
461cb0ef41Sopenharmony_ci  ...
471cb0ef41Sopenharmony_ci# Subtest: only = true, skip = true
481cb0ef41Sopenharmony_ciok 10 - only = true, skip = true # SKIP
491cb0ef41Sopenharmony_ci  ---
501cb0ef41Sopenharmony_ci  duration_ms: *
511cb0ef41Sopenharmony_ci  ...
521cb0ef41Sopenharmony_ci# Subtest: only = true, with subtests
531cb0ef41Sopenharmony_ci    # Subtest: running subtest 1
541cb0ef41Sopenharmony_ci    ok 1 - running subtest 1
551cb0ef41Sopenharmony_ci      ---
561cb0ef41Sopenharmony_ci      duration_ms: *
571cb0ef41Sopenharmony_ci      ...
581cb0ef41Sopenharmony_ci    # Subtest: running subtest 2
591cb0ef41Sopenharmony_ci    ok 2 - running subtest 2
601cb0ef41Sopenharmony_ci      ---
611cb0ef41Sopenharmony_ci      duration_ms: *
621cb0ef41Sopenharmony_ci      ...
631cb0ef41Sopenharmony_ci    # Subtest: skipped subtest 1
641cb0ef41Sopenharmony_ci    ok 3 - skipped subtest 1 # SKIP 'only' option not set
651cb0ef41Sopenharmony_ci      ---
661cb0ef41Sopenharmony_ci      duration_ms: *
671cb0ef41Sopenharmony_ci      ...
681cb0ef41Sopenharmony_ci    # Subtest: skipped subtest 2
691cb0ef41Sopenharmony_ci    ok 4 - skipped subtest 2 # SKIP 'only' option not set
701cb0ef41Sopenharmony_ci      ---
711cb0ef41Sopenharmony_ci      duration_ms: *
721cb0ef41Sopenharmony_ci      ...
731cb0ef41Sopenharmony_ci    # Subtest: running subtest 3
741cb0ef41Sopenharmony_ci    ok 5 - running subtest 3
751cb0ef41Sopenharmony_ci      ---
761cb0ef41Sopenharmony_ci      duration_ms: *
771cb0ef41Sopenharmony_ci      ...
781cb0ef41Sopenharmony_ci    # Subtest: running subtest 4
791cb0ef41Sopenharmony_ci        # Subtest: running sub-subtest 1
801cb0ef41Sopenharmony_ci        ok 1 - running sub-subtest 1
811cb0ef41Sopenharmony_ci          ---
821cb0ef41Sopenharmony_ci          duration_ms: *
831cb0ef41Sopenharmony_ci          ...
841cb0ef41Sopenharmony_ci        # Subtest: running sub-subtest 2
851cb0ef41Sopenharmony_ci        ok 2 - running sub-subtest 2
861cb0ef41Sopenharmony_ci          ---
871cb0ef41Sopenharmony_ci          duration_ms: *
881cb0ef41Sopenharmony_ci          ...
891cb0ef41Sopenharmony_ci        # Subtest: skipped sub-subtest 1
901cb0ef41Sopenharmony_ci        ok 3 - skipped sub-subtest 1 # SKIP 'only' option not set
911cb0ef41Sopenharmony_ci          ---
921cb0ef41Sopenharmony_ci          duration_ms: *
931cb0ef41Sopenharmony_ci          ...
941cb0ef41Sopenharmony_ci        # Subtest: skipped sub-subtest 2
951cb0ef41Sopenharmony_ci        ok 4 - skipped sub-subtest 2 # SKIP 'only' option not set
961cb0ef41Sopenharmony_ci          ---
971cb0ef41Sopenharmony_ci          duration_ms: *
981cb0ef41Sopenharmony_ci          ...
991cb0ef41Sopenharmony_ci        1..4
1001cb0ef41Sopenharmony_ci    ok 6 - running subtest 4
1011cb0ef41Sopenharmony_ci      ---
1021cb0ef41Sopenharmony_ci      duration_ms: *
1031cb0ef41Sopenharmony_ci      ...
1041cb0ef41Sopenharmony_ci    # Subtest: skipped subtest 3
1051cb0ef41Sopenharmony_ci    ok 7 - skipped subtest 3 # SKIP 'only' option not set
1061cb0ef41Sopenharmony_ci      ---
1071cb0ef41Sopenharmony_ci      duration_ms: *
1081cb0ef41Sopenharmony_ci      ...
1091cb0ef41Sopenharmony_ci    # Subtest: skipped subtest 4
1101cb0ef41Sopenharmony_ci    ok 8 - skipped subtest 4 # SKIP
1111cb0ef41Sopenharmony_ci      ---
1121cb0ef41Sopenharmony_ci      duration_ms: *
1131cb0ef41Sopenharmony_ci      ...
1141cb0ef41Sopenharmony_ci    1..8
1151cb0ef41Sopenharmony_ciok 11 - only = true, with subtests
1161cb0ef41Sopenharmony_ci  ---
1171cb0ef41Sopenharmony_ci  duration_ms: *
1181cb0ef41Sopenharmony_ci  ...
1191cb0ef41Sopenharmony_ci# Subtest: describe only = true, with subtests
1201cb0ef41Sopenharmony_ci    # Subtest: `it` subtest 1 should run
1211cb0ef41Sopenharmony_ci    ok 1 - `it` subtest 1 should run
1221cb0ef41Sopenharmony_ci      ---
1231cb0ef41Sopenharmony_ci      duration_ms: *
1241cb0ef41Sopenharmony_ci      ...
1251cb0ef41Sopenharmony_ci    # Subtest: `it` subtest 2 should not run
1261cb0ef41Sopenharmony_ci    ok 2 - `it` subtest 2 should not run # SKIP 'only' option not set
1271cb0ef41Sopenharmony_ci      ---
1281cb0ef41Sopenharmony_ci      duration_ms: *
1291cb0ef41Sopenharmony_ci      ...
1301cb0ef41Sopenharmony_ci    1..2
1311cb0ef41Sopenharmony_ciok 12 - describe only = true, with subtests
1321cb0ef41Sopenharmony_ci  ---
1331cb0ef41Sopenharmony_ci  duration_ms: *
1341cb0ef41Sopenharmony_ci  type: 'suite'
1351cb0ef41Sopenharmony_ci  ...
1361cb0ef41Sopenharmony_ci# Subtest: describe only = true, with a mixture of subtests
1371cb0ef41Sopenharmony_ci    # Subtest: `it` subtest 1
1381cb0ef41Sopenharmony_ci    ok 1 - `it` subtest 1
1391cb0ef41Sopenharmony_ci      ---
1401cb0ef41Sopenharmony_ci      duration_ms: *
1411cb0ef41Sopenharmony_ci      ...
1421cb0ef41Sopenharmony_ci    # Subtest: `it` async subtest 1
1431cb0ef41Sopenharmony_ci    ok 2 - `it` async subtest 1
1441cb0ef41Sopenharmony_ci      ---
1451cb0ef41Sopenharmony_ci      duration_ms: *
1461cb0ef41Sopenharmony_ci      ...
1471cb0ef41Sopenharmony_ci    # Subtest: `it` subtest 2 only=true
1481cb0ef41Sopenharmony_ci    ok 3 - `it` subtest 2 only=true
1491cb0ef41Sopenharmony_ci      ---
1501cb0ef41Sopenharmony_ci      duration_ms: *
1511cb0ef41Sopenharmony_ci      ...
1521cb0ef41Sopenharmony_ci    # Subtest: `it` subtest 2 only=false
1531cb0ef41Sopenharmony_ci    ok 4 - `it` subtest 2 only=false # SKIP 'only' option not set
1541cb0ef41Sopenharmony_ci      ---
1551cb0ef41Sopenharmony_ci      duration_ms: *
1561cb0ef41Sopenharmony_ci      ...
1571cb0ef41Sopenharmony_ci    # Subtest: `it` subtest 3 skip
1581cb0ef41Sopenharmony_ci    ok 5 - `it` subtest 3 skip # SKIP 'only' option not set
1591cb0ef41Sopenharmony_ci      ---
1601cb0ef41Sopenharmony_ci      duration_ms: *
1611cb0ef41Sopenharmony_ci      ...
1621cb0ef41Sopenharmony_ci    # Subtest: `it` subtest 4 todo
1631cb0ef41Sopenharmony_ci    ok 6 - `it` subtest 4 todo # SKIP 'only' option not set
1641cb0ef41Sopenharmony_ci      ---
1651cb0ef41Sopenharmony_ci      duration_ms: *
1661cb0ef41Sopenharmony_ci      ...
1671cb0ef41Sopenharmony_ci    # Subtest: `test` subtest 1
1681cb0ef41Sopenharmony_ci    ok 7 - `test` subtest 1
1691cb0ef41Sopenharmony_ci      ---
1701cb0ef41Sopenharmony_ci      duration_ms: *
1711cb0ef41Sopenharmony_ci      ...
1721cb0ef41Sopenharmony_ci    # Subtest: `test` async subtest 1
1731cb0ef41Sopenharmony_ci    ok 8 - `test` async subtest 1
1741cb0ef41Sopenharmony_ci      ---
1751cb0ef41Sopenharmony_ci      duration_ms: *
1761cb0ef41Sopenharmony_ci      ...
1771cb0ef41Sopenharmony_ci    # Subtest: `test` subtest 2 only=true
1781cb0ef41Sopenharmony_ci    ok 9 - `test` subtest 2 only=true
1791cb0ef41Sopenharmony_ci      ---
1801cb0ef41Sopenharmony_ci      duration_ms: *
1811cb0ef41Sopenharmony_ci      ...
1821cb0ef41Sopenharmony_ci    # Subtest: `test` subtest 2 only=false
1831cb0ef41Sopenharmony_ci    ok 10 - `test` subtest 2 only=false # SKIP 'only' option not set
1841cb0ef41Sopenharmony_ci      ---
1851cb0ef41Sopenharmony_ci      duration_ms: *
1861cb0ef41Sopenharmony_ci      ...
1871cb0ef41Sopenharmony_ci    # Subtest: `test` subtest 3 skip
1881cb0ef41Sopenharmony_ci    ok 11 - `test` subtest 3 skip # SKIP 'only' option not set
1891cb0ef41Sopenharmony_ci      ---
1901cb0ef41Sopenharmony_ci      duration_ms: *
1911cb0ef41Sopenharmony_ci      ...
1921cb0ef41Sopenharmony_ci    # Subtest: `test` subtest 4 todo
1931cb0ef41Sopenharmony_ci    ok 12 - `test` subtest 4 todo # SKIP 'only' option not set
1941cb0ef41Sopenharmony_ci      ---
1951cb0ef41Sopenharmony_ci      duration_ms: *
1961cb0ef41Sopenharmony_ci      ...
1971cb0ef41Sopenharmony_ci    1..12
1981cb0ef41Sopenharmony_ciok 13 - describe only = true, with a mixture of subtests
1991cb0ef41Sopenharmony_ci  ---
2001cb0ef41Sopenharmony_ci  duration_ms: *
2011cb0ef41Sopenharmony_ci  type: 'suite'
2021cb0ef41Sopenharmony_ci  ...
2031cb0ef41Sopenharmony_ci# Subtest: describe only = true, with subtests
2041cb0ef41Sopenharmony_ci    # Subtest: subtest should run
2051cb0ef41Sopenharmony_ci    ok 1 - subtest should run
2061cb0ef41Sopenharmony_ci      ---
2071cb0ef41Sopenharmony_ci      duration_ms: *
2081cb0ef41Sopenharmony_ci      ...
2091cb0ef41Sopenharmony_ci    # Subtest: async subtest should not run
2101cb0ef41Sopenharmony_ci    ok 2 - async subtest should not run # SKIP 'only' option not set
2111cb0ef41Sopenharmony_ci      ---
2121cb0ef41Sopenharmony_ci      duration_ms: *
2131cb0ef41Sopenharmony_ci      ...
2141cb0ef41Sopenharmony_ci    # Subtest: subtest should be skipped
2151cb0ef41Sopenharmony_ci    ok 3 - subtest should be skipped # SKIP 'only' option not set
2161cb0ef41Sopenharmony_ci      ---
2171cb0ef41Sopenharmony_ci      duration_ms: *
2181cb0ef41Sopenharmony_ci      ...
2191cb0ef41Sopenharmony_ci    1..3
2201cb0ef41Sopenharmony_ciok 14 - describe only = true, with subtests
2211cb0ef41Sopenharmony_ci  ---
2221cb0ef41Sopenharmony_ci  duration_ms: *
2231cb0ef41Sopenharmony_ci  type: 'suite'
2241cb0ef41Sopenharmony_ci  ...
2251cb0ef41Sopenharmony_ci1..14
2261cb0ef41Sopenharmony_ci# tests 40
2271cb0ef41Sopenharmony_ci# suites 3
2281cb0ef41Sopenharmony_ci# pass 15
2291cb0ef41Sopenharmony_ci# fail 0
2301cb0ef41Sopenharmony_ci# cancelled 0
2311cb0ef41Sopenharmony_ci# skipped 25
2321cb0ef41Sopenharmony_ci# todo 0
2331cb0ef41Sopenharmony_ci# duration_ms *
234