[PATCH v2 04/17] kunit: test: add kunit_stream a std::stream like logger

Greg KH gregkh at linuxfoundation.org
Thu May 2 11:00:08 UTC 2019


On Wed, May 01, 2019 at 04:01:13PM -0700, Brendan Higgins wrote:
> A lot of the expectation and assertion infrastructure prints out fairly
> complicated test failure messages, so add a C++ style log library for
> for logging test results.

Ideally we would always use a standard logging format, like the
kselftest tests all are aiming to do.  That way the output can be easily
parsed by tools to see if the tests succeed/fail easily.

Any chance of having this logging framework enforcing that format as
well?

thanks,

greg k-h


More information about the dri-devel mailing list