mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-26 02:06:16 +00:00
Most calls to ztest_assert() contain a message with no trailing newline. So when it fails, we get (eg:): starting test - test_multilib Assertion failed at multilib.c:19: test_multilib: (c not equal to 323) smoke-test failed: wrong multilib selectedFAIL - test_multilib. when we'd like to get: smoke-test failed: wrong multilib selected FAIL - test_multilib. among other things, because it is easier to parse for correctness. So this patch adds a trailing newline to the message instead of going around trying to police every call site to do it. print[kf]() is used vs k_str_out() as we need something that is available also for unit tests. As this is not in any hot path, performance wise is not such a big deal. Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> |
||
---|---|---|
.. | ||
application_development | ||
benchmarks | ||
bluetooth | ||
boards | ||
booting/stub | ||
compliance | ||
crypto | ||
drivers | ||
include | ||
kernel | ||
lib | ||
misc/test_build | ||
net | ||
posix | ||
power | ||
shell | ||
subsys | ||
unit | ||
ztest | ||
CMakeLists.txt | ||
Kconfig |