zephyr/tests
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
..
application_development hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
arch tests: arch: common: stack_unwind: fix symtab test 2024-07-09 19:44:08 -04:00
benchmarks tests: latency_measure: Restructure configurations 2024-06-12 14:33:47 +03:00
bluetooth tests: source Zephyr before project() call 2024-08-05 16:27:09 +02:00
boards tests: boards: nrf: qdec: add tests for qdec for nrf 2024-07-28 07:31:15 +03:00
boot tests: boot: Add nrf54l15pdk to platform_allow list in with_mcumgr tests 2024-06-04 13:41:29 +02:00
bsim tests: bsim: set log level from command-line argument 2024-08-05 10:16:36 +02:00
cmake tests: cmake: fix test identifier 2024-07-18 06:47:57 -04:00
crypto modules: mbedtls: fix MBEDTLS_PSA_P256M_DRIVER_RAW Kconfig option 2024-07-15 10:36:58 -04:00
drivers boards: nxp: mr_canhubk3: enable STM counter 2024-08-05 07:35:57 -05:00
integration/kernel Kernel: Integration test 2024-06-19 13:41:06 +02:00
kconfig tests: kconfig: functions: Add min/max functions 2024-08-02 13:41:07 +02:00
kernel tests: kernel: Add ISR tests for k_thread_priority_set() 2024-08-02 03:29:55 -04:00
lib tests: source Zephyr before project() call 2024-08-05 16:27:09 +02:00
misc tests: do not get ZEPHYR_BASE from ENV 2024-07-11 13:09:53 -04:00
modules posix: move ioctl() from fdtable to posix 2024-06-14 14:01:05 -04:00
net tests: source Zephyr before project() call 2024-08-05 16:27:09 +02:00
posix lib: posix: mutex: stubs remaining of _POSIX_THREAD_PRIO_PROTECT 2024-08-05 11:32:43 +02:00
robot resc: cmake: robot: Rename Renode variable 2024-05-28 12:54:52 +02:00
subsys coredump: Add test for threads core dump config 2024-08-02 03:32:09 -04:00
unit tests: source Zephyr before project() call 2024-08-05 16:27:09 +02:00
ztest lib: cpp: remove deprecated Kconfigs 2024-06-18 14:33:58 -04:00
test_config.yaml twister: tests: Add some generic driver tests to the scope 2023-11-30 19:38:50 -05:00