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>
diff --git a/subsys/testsuite/Kconfig b/subsys/testsuite/Kconfig
index 185243f..5d709b0 100644
--- a/subsys/testsuite/Kconfig
+++ b/subsys/testsuite/Kconfig
@@ -10,6 +10,9 @@
 
 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.