zephyr/tests/net
Torsten Rasmussen b939e720a6 tests: source Zephyr before project() call
Fixes: #73831

find_package(Zephyr) should be called before first project() call.

Zephyr package will test and force-set the correct toolchain, especially
the C compiler.
The project() will also set the C compiler, if not set already.

If project() is called first, then conflict arises on the C compiler
selection and thus the following message is seen:
> You have changed variables that require your cache to be deleted.
> Configure will be re-run and you may have to reset some variables.
> The following variables have changed:
> CMAKE_C_COMPILER= /usr/bin/gcc

This cache deletion results in other errors, such as a missing BOARD
setting.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-08-05 16:27:09 +02:00
..
6lo net: Provide separate configs for TX/RX memory pool for variable bufs 2024-03-29 15:56:07 -05:00
all tests: net: all: Enable IPv4 ACD in the test suite 2024-06-10 00:59:28 -07:00
arp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
bridge
buf tests: net: buf: Better clone coverage 2024-03-29 16:00:39 -05:00
buf_simple tests: source Zephyr before project() call 2024-08-05 16:27:09 +02:00
checksum_offload tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
conn_mgr_conn test: Apply semantic patch file ztest_strcmp.cocci 2024-06-14 19:25:42 +02:00
conn_mgr_monitor tests: net: conn_mgr_monitor: Remove debug logs 2024-06-17 12:08:51 -04:00
context tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
dhcpv4 tests: net: Exclude native_posix because of socket service 2024-05-20 14:25:44 +03:00
dhcpv6 tests: net: dhcpv6: Reapply LL address on iface up 2024-05-14 18:20:56 -04:00
ethernet_mgmt
hostname tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
icmp net: context: Add support for adjusting IPv4 multicast ttl 2023-12-04 15:07:43 +01:00
icmpv4 net: ipv4: Check localhost for incoming packet 2023-12-21 09:18:24 +01:00
icmpv6
ieee802154 net: l2: ieee802154: test association permit bit 2024-07-31 10:08:03 +02:00
iface tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
igmp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
ip-addr tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
ipv4_fragment net: Use always zephyr/posix/fcntl.h 2024-03-27 13:40:13 -05:00
ipv6 tests: net: ipv6: Add more test cases involving iface state changes 2024-05-20 14:26:24 +03:00
ipv6_fragment tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
lib misc: move lorem ipsum text to zephyr/misc/lorem_ipsum.h 2024-08-02 03:31:06 -04:00
mgmt tests: Add a test for duplicate event handlers 2024-03-08 09:35:04 +01:00
mld tests: net: mld: Add more test cases involving iface state changes 2024-05-20 14:26:24 +03:00
mocks
neighbor net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
net_pkt net: pkt: Add flags to indicate the pkt should be timestamped 2024-06-13 05:40:41 -04:00
npf
offloaded_netdev
pm posix: deprecate POSIX_MAX_FDS and add POSIX_DEVICE_IO 2024-06-04 16:27:12 -05:00
ppp/driver
promiscuous tests|scripts/net: Change native_posix references to native_sim 2024-03-20 15:43:05 +01:00
ptp/clock drivers: ptp_clock_nxp_enet: misc fixes 2024-04-23 15:31:33 +02:00
route tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
route_mcast tests: net: mcast_routing: add verification of multiple interfaces 2024-04-17 14:39:35 +02:00
shell tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
socket misc: move lorem ipsum text to zephyr/misc/lorem_ipsum.h 2024-08-02 03:31:06 -04:00
tcp misc: move lorem ipsum text to zephyr/misc/lorem_ipsum.h 2024-08-02 03:31:06 -04:00
traffic_class tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
trickle
tx_timestamp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
udp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
utils
virtual tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
vlan net: vlan: Add a function to check if interface is VLAN one 2024-04-25 11:06:23 +00:00
wifi/wifi_nm tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00