zephyr/tests/lib
Glenn Andrews 94084e5aba Lib: SMF: Add return code to signal event propagation
See Discussion https://github.com/zephyrproject-rtos/zephyr/discussions/83659
for information about the purpose of this change.

Modifies run actions of hierarchical state machines
to return a value indicating if the event was handled
by the run action or should be propagated up to the
parent run action. Flat state machines are not affected,
and their run action returns void.

smf_set_handled() has been removed and replaced by
this return value. smf_set_state() will not propagate
events regardless of the return value as the transition
is considered to have occurred.

Documentation, tests, samples, has been updated.
USB-C and hawkBit use SMF and have been updated to use
the new return codes.

Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
2025-06-17 16:04:04 +02:00
..
acpi tests: source Zephyr before project() call 2024-08-05 16:27:09 +02:00
c_lib tests: c_lib: thrd: run test on 1 cpu 2025-06-14 12:36:48 -04:00
cbprintf_fp tests/lib/cbprintf_fp: add hifive1.conf 2024-04-02 14:31:39 +01:00
cbprintf_package tests: lib: cbprintf_package: Extend test coverage 2024-11-01 09:56:03 -05:00
cmsis_dsp tests: unskip some tests 2025-03-28 21:52:13 +01:00
cmsis_nn tests: cmsis-nn: update tests for v7.0.0 2025-02-13 06:39:17 +01:00
cobs tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
cpp dts: ambiq: change to enable ambiq drivers in overlays 2025-05-05 21:56:47 +02:00
devicetree devicetree: Enhance DT_ENUM_HAS_VALUE macro for arrays 2025-06-12 11:44:46 +02:00
fdtable fdtable: replace z_ prefix with zvfs_ for fdtable.h functions 2024-06-26 12:33:02 +02:00
gui/lvgl tests: lib: gui: lvgl: Remove LV_FONT_SIMSUN_16_CJK symbol 2025-06-11 08:20:09 +02:00
hash_function
hash_map
heap tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
heap_align tests/lib/heap_align: improve test some more 2025-03-17 02:21:27 +01:00
json tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
linear_range
lockfree tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
math/interpolation tests: fix various test ids and use existing scheme 2025-04-07 11:22:36 +02:00
mem_alloc tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
mem_blocks tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
mem_blocks_stats
min_heap tests: lib: min_heap: add test coverage for edge cases 2025-06-11 16:24:59 -07:00
mpsc_pbuf tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
multi_heap tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
net_buf tests: lib: net_buf: move network buffer tests to tests/lib/net_buf 2024-09-07 11:19:05 -05:00
newlib samples: tests: bluetooth: Add support for frdm_rw612 2024-06-10 07:02:06 -07:00
notify
onoff
p4workq tests: lib: p4wq: turn of time slicing 2025-05-17 14:10:13 +02:00
ringbuffer tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
shared_multi_heap kernel: mm: rename z_phys_un/map to k_mem_*_phys_bare 2024-06-12 21:13:26 -04:00
smf Lib: SMF: Add return code to signal event propagation 2025-06-17 16:04:04 +02:00
sprintf tests: lib: fix doxygen groups 2025-04-22 14:03:29 +02:00
spsc_pbuf tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
sys_util include: sys: util: add note and test for NUM_VA_ARGS_LESS_1 2024-05-01 22:56:00 +01:00
time tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
timespec_util tests: lib: timeutil: add timespec util testsuite 2025-05-22 23:57:17 +02:00
uuid uuid: Add sample for UUID utilities 2025-04-14 09:47:26 +02:00