Skip to content

Commit

Permalink
samples: net: zperf: add Ethernet twister test
Browse files Browse the repository at this point in the history
add one Ethernet twister test for nucleo_h563zi,
nucleo_h743zi, nucleo_f429zi, nucleo_f746zg.
remove the common: harnesses: net  that are not supported
leave harnesses: net for all other test execpt the one we use

Signed-off-by: Marc Desvaux <[email protected]>
  • Loading branch information
Desvauxm-st authored and fabiobaltieri committed Jul 27, 2023
1 parent 36d63e1 commit ae72fa7
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion samples/net/zperf/sample.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
common:
harness: net
tags:
- net
- zperf
Expand All @@ -14,25 +13,41 @@ sample:
name: zperf
tests:
sample.net.zperf:
harness: net
platform_allow: qemu_x86
sample.net.zperf_st:
harness: console
harness_config:
type: multi_line
regex:
- "coming up"
platform_allow:
- nucleo_h563zi
- nucleo_h743zi
- nucleo_f429zi
- nucleo_f746zg
sample.net.zperf_no_shell:
harness: net
extra_configs:
- CONFIG_NET_SHELL=n
platform_allow: qemu_x86
sample.net.zperf.netusb_ecm:
harness: net
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
tags:
- usb
- net
- zperf
depends_on: usb_device
sample.net.zperf.device_next_ecm:
harness: net
extra_args: OVERLAY_CONFIG="overlay-usbd_next_ecm.conf"
DTC_OVERLAY_FILE="usbd_next_ecm.overlay"
platform_allow: nrf52840dk_nrf52840 frdm_k64f
tags: usb net zperf
depends_on: usb_device
sample.net.zperf.netusb_eem:
harness: net
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
extra_configs:
- CONFIG_USB_DEVICE_NETWORK_ECM=n
Expand All @@ -43,6 +58,7 @@ tests:
- zperf
depends_on: usb_device
sample.net.zperf.netusb_rndis:
harness: net
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
extra_configs:
- CONFIG_USB_DEVICE_NETWORK_ECM=n
Expand All @@ -53,6 +69,7 @@ tests:
- zperf
depends_on: usb_device
sample.net.zperf.shield:
harness: net
platform_allow: reel_board
extra_args: SHIELD=link_board_eth
tags:
Expand Down

0 comments on commit ae72fa7

Please sign in to comment.