Re: [PATCH] kunit: kunit_tool: Correctly parse diagnostic messages

2020-11-30 Thread Brendan Higgins
On Mon, Nov 9, 2020 at 11:29 PM David Gow wrote: > > Currently, kunit_tool expects all diagnostic lines in test results to > contain ": " somewhere, as both the subtest header and the crash report > do. Fix this to accept any line starting with (minus indent) "# " as > being a valid diagnostic lin

Re: [PATCH] kunit: kunit_tool: Correctly parse diagnostic messages

2020-11-10 Thread Marco Elver
On Tue, 10 Nov 2020 at 08:29, David Gow wrote: > > Currently, kunit_tool expects all diagnostic lines in test results to > contain ": " somewhere, as both the subtest header and the crash report > do. Fix this to accept any line starting with (minus indent) "# " as > being a valid diagnostic line.

[PATCH] kunit: kunit_tool: Correctly parse diagnostic messages

2020-11-09 Thread David Gow
Currently, kunit_tool expects all diagnostic lines in test results to contain ": " somewhere, as both the subtest header and the crash report do. Fix this to accept any line starting with (minus indent) "# " as being a valid diagnostic line. This matches what the TAP spec[1] and the draft KTAP spe