Re: [PATCH v3 3/3] kunit: tool: move kunitconfig parsing into __init__, make it optional

2021-01-11 Thread Brendan Higgins
On Thu, Jan 7, 2021 at 3:48 PM Daniel Latypov wrote: > > LinuxSourceTree will unceremoniously crash if the user doesn't call > read_kunitconfig() first in a number of functions. > > And currently every place we create an instance, the caller also calls > create_kunitconfig() and read_kunitconfig()

[PATCH v3 3/3] kunit: tool: move kunitconfig parsing into __init__, make it optional

2021-01-07 Thread Daniel Latypov
LinuxSourceTree will unceremoniously crash if the user doesn't call read_kunitconfig() first in a number of functions. And currently every place we create an instance, the caller also calls create_kunitconfig() and read_kunitconfig(). Move these instead into __init__() so they can't be forgotten a