Skip to content
Permalink
Browse files

testsuite: Include thread name in crash dump for tests

By selecting CONFIG_THREAD_NAME. It makes sense to have this enabled
by default for tests, to easy debugging in a case of crash.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
  • Loading branch information...
pfalcon authored and andrewboie committed Mar 13, 2019
1 parent ec1ffc8 commit 2a798bb7a16badd829891032e832463c0922ba66
Showing with 3 additions and 0 deletions.
  1. +3 −0 subsys/testsuite/Kconfig
@@ -10,6 +10,9 @@ source "subsys/testsuite/ztest/Kconfig"

config TEST
bool "Mark project as a test"
# For tests, store thread names in binary and dump them on crash to
# ease debugging.
select THREAD_NAME
help
Mark a project or an application as a test. This will enable a few
test defaults.

0 comments on commit 2a798bb

Please sign in to comment.
You can’t perform that action at this time.