diff options
author | Frank Rowand <frank.rowand@sony.com> | 2022-02-01 19:14:13 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-02-28 22:20:32 +0100 |
commit | 8e4296c286ed7a3b69e619d5069493bdcc9a2b25 (patch) | |
tree | 7a63921cb644294b2ee55e63994ed6ff9d13be03 /sound/i2c/i2c.c | |
parent | dt-bindings: timer: sifive,clint: Group interrupt tuples (diff) | |
download | linux-8e4296c286ed7a3b69e619d5069493bdcc9a2b25.tar.xz linux-8e4296c286ed7a3b69e619d5069493bdcc9a2b25.zip |
of: unittest: add program to process EXPECT messages
If unittest detects a problem it will print a warning or error message
to the console. Unittest also triggers warning and error messages from
other kernel code as a result of intentionally bad unittest data. This
has led to confusion as to whether the triggered messages are an
expected result of a test or whether there is a real problem that is
independent of unittest.
EXPECT messages were added to unittest to report each triggered message
that is expected, resulting in verbose console output.
scripts/dtc/of_unittest is a new program that processes the EXPECT
messages to determine whether the triggered messages occurred and
also removes the excess verbosity of the EXPECT messages. More
information is available from 'scripts/dtc/of_unittest_expect --help'.
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220201181413.2719955-1-frowand.list@gmail.com
Diffstat (limited to 'sound/i2c/i2c.c')
0 files changed, 0 insertions, 0 deletions