zephyr/tests
Stefan Schwendeler b234e86ca6 tests: net: lib: lwm2m: detects no-operation setter and getter functions
Test case `test_set_bulk` and `test_get_set` test the LwM2m getter and
setter function by
- init a buffer with some value
- calling lwm2m_set_... with buffer as parameter
- calling lwm2_get_... by letting `get` write-back into the same
  buffer(!)
- compare the buffer with the init value

That implementation can't recognize a no-operation getter function.

This change adds some C macro magic for both test cases where
an `out` buffer for setter and an `in` buffer for getter functions
exists. The buffers are checked before use for inequality to avoid
any unexpected pass.

Signed-off-by: Stefan Schwendeler <Stefan.Schwendeler@husqvarnagroup.com>
2025-05-23 19:49:54 +02:00
..
application_development tests: vector_table_relocation: add test for vector table relocation 2025-04-25 11:03:54 +02:00
arch tests: arch: Fix zassert string 2025-05-22 16:17:23 +02:00
benchmarks arch: nios2: remove arch 2025-05-15 20:01:05 -04:00
bluetooth tests/bluetooth & bsim: Fix code compliance issues 2025-05-21 12:35:28 +02:00
boards soc: nrf54: Port SYS_INIT to use soc_early_init_hook 2025-05-22 16:17:35 +02:00
boot tests: boot: mcuboot_data_sharing: Remove boot_info node 2025-04-25 14:03:34 +02:00
bsim tests/bluetooth & bsim: Fix code compliance issues 2025-05-21 12:35:28 +02:00
cmake cmake: yaml: improve escaping of strings with backslashes and quotes 2025-04-10 10:11:47 +02:00
crypto
ctest/base
drivers tests: drivers: gpio_hogs: Add nrf54 platforms. 2025-05-23 15:31:30 +02:00
integration/kernel tests: kernel: set timeslice size to 0 in tests that do not exercise it 2025-05-16 22:55:49 +02:00
kconfig
kernel tests: kernel: timer: Align timer tests to nRF54 2025-05-23 14:04:29 +02:00
lib tests: lib: timeutil: add timespec util testsuite 2025-05-22 23:57:17 +02:00
misc tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
modules tests: subsys: Fix zassert string 2025-05-22 16:17:23 +02:00
net tests: net: lib: lwm2m: detects no-operation setter and getter functions 2025-05-23 19:49:54 +02:00
posix arch: nios2: remove arch 2025-05-15 20:01:05 -04:00
robot tests: robot: renode: Use precise pause for UART keywords 2025-04-16 17:07:05 +02:00
subsys tests: subsys: Fix zassert string 2025-05-22 16:17:23 +02:00
unit tests: unit: Fix zassert string 2025-05-22 16:17:23 +02:00
ztest tests: subsys: Fix zassert string 2025-05-22 16:17:23 +02:00
test_config_ci.yaml
test_config.yaml
tests.dox tests: kernel/arch: various doxygen fixes 2025-04-22 14:03:29 +02:00