kunit: tool: make unit test not print parsed testdata to stdout
authorDaniel Latypov <dlatypov@google.com>
Fri, 28 Oct 2022 21:02:55 +0000 (14:02 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 31 Oct 2022 08:47:07 +0000 (02:47 -0600)
commit3ffdcf7e3b7dff04b055771c03c9646aa383cc1e
treed8b61357a879cce4a6a61c29072f7baa5ecd84f6
parent8f8b51f7d5c8bd3a89e7ea87aed2cdaa52ca5ba4
kunit: tool: make unit test not print parsed testdata to stdout

Currently, if you run
$ ./tools/testing/kunit/kunit_tool_test.py
you'll see a lot of output from the parser as we feed it testdata.

This makes the output hard to read and fairly confusing, esp. since our
testdata includes example failures, which get printed out in red.

Silence that output so real failures are easier to see.

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit_tool_test.py