Re: [PATCH] kunit: Fix kunit.py --raw_output option
From: Brendan Higgins
Date: Thu Oct 22 2020 - 00:18:36 EST
On Wed, Oct 21, 2020 at 8:05 PM David Gow <davidgow@xxxxxxxxxx> 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 printing anything.
>
> Fixes: 45ba7a893ad89114e773b3dc32f6431354c465d6 ("kunit: kunit_tool: Separate out config/build/exec/parse")
> Signed-off-by: David Gow <davidgow@xxxxxxxxxx>
Thanks for fixing this!
Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>
Tested-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>