Re: [PATCH] kunit: Fix kunit.py --raw_output option

2020-10-26 Thread Shuah Khan
On 10/21/20 10:11 PM, Brendan Higgins wrote: On Wed, Oct 21, 2020 at 8:05 PM David Gow wrote: Due to the raw_output() function on kunit_parser.py actually being a generator, it only runs if something reads the lines it returns. Since we no-longer do that (parsing doesn't actually happen if

Re: [PATCH] kunit: Fix kunit.py --raw_output option

2020-10-21 Thread Brendan Higgins
On Wed, Oct 21, 2020 at 8:05 PM David Gow wrote: > > Due to the raw_output() function on kunit_parser.py actually being a > generator, it only runs if something reads the lines it returns. Since > we no-longer do that (parsing doesn't actually happen if raw_output is > enabled), it was not

[PATCH] kunit: Fix kunit.py --raw_output option

2020-10-21 Thread David Gow
Due to the raw_output() function on kunit_parser.py actually being a generator, it only runs if something reads the lines it returns. Since we no-longer do that (parsing doesn't actually happen if raw_output is enabled), it was not printing anything. Fixes: