zephyr/tests/cmake
Torsten Rasmussen d128a078f6 cmake: change test message overwrite to macro
Fixes: #79052

The yaml CMake tests overwrites `message()` in order to verify correct
error handling. This was original done in a function and then using
a return call when an expected error has been raised.
Using a function() means the `return()` only returns the `message()`
and thus wrongly continue processing rest of the yaml file.

Change `message()` to macro so the return call correctly returns from
the calling yaml functions.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-09-30 17:12:23 +01:00
..
app_version
config_dir
overlays tests: cmake: fix test identifier 2024-07-18 06:47:57 -04:00
snippets tests/cmake/snippets: Don't test on native_posix 2024-09-25 04:04:36 -04:00
yaml cmake: change test message overwrite to macro 2024-09-30 17:12:23 +01:00
zephyr_get