zephyr/tests/net
Daniel DeGrasse b30ae46aa0 tests: ptp: Fixed PTP clock test failure on frdm_k64f
ptp_clock_test was failing when trying to access the ptp clock from user
mode. This was due to an arbitrary initialization priority between the
virtual PTP clock devices created by the ptp clocking test and the
physical PTP clock on the frdm_k64f board. Since the ptp test
initializes the virtual clock with the same device name as the physical
clock, if the physical clock was initialized first this test would
incorrectly reference the physical device during testing, instead of the
virtual one.

This fix simply defines the virtual ptp clock with a custom name, so
that the test will always locate the correct ptp clock.
Fixes #38731

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2021-09-23 04:17:40 -04:00
..
6lo cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
all cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
arp cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
bridge cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
buf cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
checksum_offload cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
context cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
dhcpv4 cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ethernet_mgmt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
hostname cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
icmpv4 cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
icmpv6 cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ieee802154 cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
iface cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
igmp cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ip-addr cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ipv6 cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ipv6_fragment cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
lib cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
mgmt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
mld cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
neighbor cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
net_pkt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
pm cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ppp/driver cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
promiscuous cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ptp/clock tests: ptp: Fixed PTP clock test failure on frdm_k64f 2021-09-23 04:17:40 -04:00
route cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
route_mcast cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
shell cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
socket tests: net: socket: new tests for AF_PACKET&SOCK_RAW&IPPROTO_RAW 2021-09-14 08:37:36 -04:00
tcp2 cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
traffic_class cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
trickle cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
tx_timestamp cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
udp cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
utils cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
virtual cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
vlan cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00