Skip to content

Commit c6cc147

Browse files
committed
[nrf fromlist] samples: subsys: usb: cdc_acm: Expand regex
Check more lines on the console to confirm correct sample operation. Upstream PR #: 93667 Signed-off-by: Sebastian Głąb <[email protected]>
1 parent c674580 commit c6cc147

File tree

1 file changed

+10
-19
lines changed

1 file changed

+10
-19
lines changed

samples/subsys/usb/cdc_acm/sample.yaml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
sample:
22
name: CDC ACM USB
3+
common:
4+
tags: usb
5+
harness: console
6+
harness_config:
7+
type: multi_line
8+
regex:
9+
- "Wait for DTR"
10+
- "cdc_acm_echo: USBD message: CDC ACM control line state"
11+
- "cdc_acm_echo: USBD message: CDC ACM line coding"
12+
- "cdc_acm_echo: Baudrate 115200"
313
tests:
414
sample.usb.cdc-acm:
515
depends_on: usb_device
6-
tags: usb
716
arch_exclude: posix
8-
harness: console
9-
harness_config:
10-
type: one_line
11-
regex:
12-
- "Wait for DTR"
1317
sample.usb_device_next.cdc-acm:
1418
depends_on: usbd
15-
tags: usb
1619
extra_args: CONF_FILE="usbd_next_prj.conf"
1720
integration_platforms:
1821
- nrf52840dk/nrf52840
@@ -26,27 +29,15 @@ tests:
2629
- max32690evkit/max32690/m4
2730
- samd21_xpro
2831
- same54_xpro
29-
harness: console
30-
harness_config:
31-
type: one_line
32-
regex:
33-
- "Wait for DTR"
3432
sample.usb_device_next.cdc-acm-workqueue:
3533
depends_on: usbd
36-
tags: usb
3734
extra_args:
3835
- CONF_FILE="usbd_next_prj.conf"
3936
- DCONFIG_USBD_CDC_ACM_WORKQUEUE=y
4037
integration_platforms:
4138
- frdm_k64f
42-
harness: console
43-
harness_config:
44-
type: one_line
45-
regex:
46-
- "Wait for DTR"
4739
sample.usb.cdc-acm.buildonly:
4840
depends_on: usb_device
49-
tags: usb
5041
arch_allow: posix
5142
build_only: true
5243
integration_platforms:

0 commit comments

Comments
 (0)