zephyr/subsys/testsuite
Andrew Boie a682dedd50 testsuite: fix memory access
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>
2019-05-02 07:24:19 -04:00
..
coverage license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
include testsuite: fix memory access 2019-05-02 07:24:19 -04:00
ztest ztest: make priority of testing thread configurable 2019-04-18 17:52:14 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig testsuite: Include thread name in crash dump for tests 2019-04-24 09:01:07 -07:00
unittest.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00