Skip to content

Commit

Permalink
net: Add more specific dependencies for specialized samples
Browse files Browse the repository at this point in the history
Certain samples  are supposed to demonstrate technology-specific
features, therefore their dependencies in sample.yml could be
narrowed to run verify build only on boards which support that
specific technology (like Ethernet or OpenThread).

Signed-off-by: Robert Lubos <[email protected]>
  • Loading branch information
rlubos authored and aescolar committed Mar 6, 2024
1 parent 17b1393 commit 562ac9d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion samples/net/dsa/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ tests:
sample.net.dsa:
build_only: true
platform_allow: ip_k66f
depends_on: netif
depends_on: eth
2 changes: 1 addition & 1 deletion samples/net/gptp/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tests:
- nucleo_f767zi
- nucleo_h743zi
- nucleo_h745zi_q/stm32h745xx/m7
depends_on: netif
depends_on: eth
integration_platforms:
- frdm_k64f
sample.net.gpt.nxp_enet_experimental:
Expand Down
2 changes: 1 addition & 1 deletion samples/net/lldp/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ tests:
- native_sim_64
integration_platforms:
- native_sim
depends_on: netif
depends_on: eth
2 changes: 1 addition & 1 deletion samples/net/openthread/coprocessor/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ common:
tags:
- net
- openthread
depends_on: netif
depends_on: openthread
min_flash: 140
sample:
description: Runs the OpenThread stack as NCP BR
Expand Down
2 changes: 1 addition & 1 deletion samples/net/vlan/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ sample:
name: VLAN sample app
tests:
sample.net.vlan:
depends_on: netif
depends_on: eth

0 comments on commit 562ac9d

Please sign in to comment.