Depending on optimization level, the TC_RESULT_STR[] array could actually be placed in memory instead of being expanded at compile time, resulting in memory access errors from user mode. Just replace TC_RESULT_TO_STR() with an inline function containing a switch statement instead. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
coverage | ||
include | ||
ztest | ||
CMakeLists.txt | ||
Kconfig | ||
unittest.cmake |