Skip to content

of: unittest: option to allow tests that trigger kernel stack dump

Frank Rowand linux-devicetree linux-doc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2of: unittest: option to allow tests that trigger kernel stack dumpdrivers/of/unittest.c+51 -34 replies
2/2of: unittest: add of_unittest_stackdump to kernel documentationDocumentation/admin-guide/kernel-parameters.txt+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] of: unittest: option to allow tests that trigger kernel stack dump

Commit 74df14cd301a ("of: unittest: add node lifecycle tests") added some tests that trigger a kernel stack dump. Filtering the boot messages with scripts/dtc/of_unittest_expect detects that the stack dump is expected instead of being a test error.

Test beds might interpret the stack dumps as errors, resulting in needless debugging and error reports. These test beds are likely to remove unittests due to these stack dumps. To avoid these problems, have the unittest default to skip the tests that trigger a stack dump.

Add a kernel cmdline option to not skip those tests. This option can be used by testers who are able to interpret the stack dumps as not an error.

Frank Rowand (2):
of: unittest: option to allow tests that trigger kernel stack dump
of: unittest: add of_unittest_stackdump to kernel documentation

 .../admin-guide/kernel-parameters.txt         |  4 ++
 drivers/of/unittest.c                         | 54 +++++++++++++++++--
 2 files changed, 55 insertions(+), 3 deletions(-)
Signature · 1 line
Frank Rowand <[email protected]>