Re: [RESEND] kunit: use --build_dir=.kunit as default

From: Vitor Massaru Iha
Date: Mon May 25 2020 - 21:54:59 EST


Hi Shuah,

On Fri, 2020-05-22 at 16:40 -0600, shuah wrote:
> On 4/16/20 5:11 PM, Brendan Higgins wrote:
> > On Tue, Apr 14, 2020 at 4:09 PM Vitor Massaru Iha <
> > vitor@xxxxxxxxxxx> wrote:
> > > To make KUnit easier to use, and to avoid overwriting object and
> > > .config files, the default KUnit build directory is set to .kunit
> > >
> > > * Related bug:
> > > https://bugzilla.kernel.org/show_bug.cgi?id=205221
> > >
> > > Signed-off-by: Vitor Massaru Iha <vitor@xxxxxxxxxxx>
> >
> > Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>
> >
>
> Applied the patch to kselftest/kunit on top of
>
> 45ba7a893ad89114e773b3dc32f6431354c465d6
> kunit: kunit_tool: Separate out config/build/exec/parse
>
> from David's work resolving merge conflicts. Please check if it is
> sane.
>
> thanks,
> -- Shuah

The kunit branch had some problems related to identation. KUnit's code
has mixed identation, and with that, in conflict correction, it ended
up breaking python.

In addition I found a bug: related to the creation of the .kunitconfig
file inside the default build directory. Should I send the patch again?
Or do I make a bugfix patch?

BR,
Vitor