Skip to content

Commit 40a1f7e

Browse files
committed
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 <[email protected]>
1 parent 799c9cd commit 40a1f7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

subsys/testsuite/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ source "subsys/testsuite/ztest/Kconfig"
1010

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

0 commit comments

Comments
 (0)