zephyr/tests
Inaky Perez-Gonzalez 2a64fe666a ztest: prints newline after failure message
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>
2018-05-09 09:33:24 -04:00
..
application_development tests: fix doxygen comments 2018-05-07 12:27:07 -04:00
benchmarks tests: fix doxygen comments 2018-05-07 12:27:07 -04:00
bluetooth
boards tests: fix doxygen comments 2018-05-07 12:27:07 -04:00
booting/stub
compliance
crypto tests: remove duplicate tests 2018-05-07 12:27:07 -04:00
drivers tests: enhance test meta-data/improve test naming 2018-05-07 12:27:07 -04:00
include tests: remove dot after PASS|FAIL 2018-05-08 07:56:18 -04:00
kernel tests: doxygen comment cleanup 2018-05-09 00:32:34 -04:00
lib tests: enhance test meta-data/improve test naming 2018-05-07 12:27:07 -04:00
misc/test_build
net tests: rename main test to main.c 2018-05-07 12:27:07 -04:00
posix
power
shell
subsys tests: subsys: fs: Add test for FAT FS dual instance case 2018-05-08 08:53:01 -04:00
unit
ztest ztest: prints newline after failure message 2018-05-09 09:33:24 -04:00
CMakeLists.txt
Kconfig