zephyr/subsys/testsuite/include
Paul Sokolovsky 92ba428626 testsuite: Factor out suite header/footer to tc_util.h
We have a few remaining tests where ztest module is not used directly,
and instead lower-level tc_util.h is used (where ztest also uses that
header). Supposedly, there're good reasons for that. However, tc_util.h
tests have output which is somewhat inconsistent with ztest output,
which may be a problem with automated parsing of test results, e.g. in
CI systems.

So, factor out code to mark testsuite start/end from ztest.c to
tc_util.h as TC_SUITE_START() and TC_SUITE_END() macros, to allow
tc_util.h based tests to produce output fully consistent with
ztest, while avoiding duplicate of code. TC_SUITE_END() accepts
result code (TC_PASS/TC_FAIL), similar to existing TC_END_REPORT().

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2021-04-28 12:54:13 -04:00
..
interrupt_util.h testsuite: utils: move the interrupt_util.h into testsuite 2021-03-30 08:18:23 -04:00
tc_util.h testsuite: Factor out suite header/footer to tc_util.h 2021-04-28 12:54:13 -04:00
test_asm_inline_gcc.h tests: Add missing timestamp_serialize() for Armv8-R aarch64 2021-04-13 07:47:44 -04:00
test_utils.h
timestamp.h tests: timestamp: minor cleanup 2020-09-05 13:28:38 -05:00