1common:
2  tags:
3    - net
4    - zperf
5  # TODO: Does not work properly with native_posix, need more TLC
6  platform_exclude:
7    - native_posix
8    - native_posix_64
9    - sam_e70_xplained
10  min_ram: 64
11sample:
12  description: Network performance measurement tool for Zephyr
13  name: zperf
14tests:
15  sample.net.zperf:
16    harness: net
17    platform_allow: qemu_x86
18  sample.net.zperf_st:
19    harness: console
20    harness_config:
21      type: multi_line
22      regex:
23        - "coming up"
24    platform_allow:
25      - nucleo_h563zi
26      - nucleo_h743zi
27      - nucleo_f429zi
28      - nucleo_f746zg
29      - stm32h573i_dk
30  sample.net.zperf_no_shell:
31    harness: net
32    extra_configs:
33      - CONFIG_NET_SHELL=n
34    platform_allow: qemu_x86
35  sample.net.zperf.netusb_ecm:
36    harness: net
37    extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
38    tags:
39      - usb
40      - net
41      - zperf
42    depends_on: usb_device
43  sample.net.zperf.device_next_ecm:
44    harness: net
45    extra_args: OVERLAY_CONFIG="overlay-usbd_next_ecm.conf"
46                DTC_OVERLAY_FILE="usbd_next_ecm.overlay"
47    platform_allow: nrf52840dk_nrf52840 frdm_k64f
48    tags: usb net zperf
49    depends_on: usb_device
50  sample.net.zperf.netusb_eem:
51    harness: net
52    extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
53    extra_configs:
54      - CONFIG_USB_DEVICE_NETWORK_ECM=n
55      - CONFIG_USB_DEVICE_NETWORK_EEM=y
56    tags:
57      - usb
58      - net
59      - zperf
60    depends_on: usb_device
61  sample.net.zperf.netusb_rndis:
62    harness: net
63    extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
64    extra_configs:
65      - CONFIG_USB_DEVICE_NETWORK_ECM=n
66      - CONFIG_USB_DEVICE_NETWORK_RNDIS=y
67    tags:
68      - usb
69      - net
70      - zperf
71    depends_on: usb_device
72  sample.net.zperf.shield:
73    harness: net
74    platform_allow: reel_board
75    extra_args: SHIELD=link_board_eth
76    tags:
77      - shield
78      - net
79      - zperf
80    depends_on:
81      - arduino_spi
82      - arduino_gpio
83