[LTP] [PATCH v2 2/4] lib: Add support for TDBUG tst_res() flag

Petr Vorel pvorel@suse.cz
Fri Dec 8 08:43:06 CET 2023


Hi Jan, all,

> > diff --git a/doc/C-Test-API.asciidoc b/doc/C-Test-API.asciidoc
> > index dab811564..479179263 100644
> > --- a/doc/C-Test-API.asciidoc
> > +++ b/doc/C-Test-API.asciidoc
> > @@ -227,6 +227,7 @@ Printf-like function to report test result, it's mostly used with ttype:
> >  | 'TPASS' | Test has passed.
> >  | 'TFAIL' | Test has failed.
> >  | 'TINFO' | General message.
> > +| 'TDBUG' | Debug message (C API only, printed with '-v').

> My first impression was it's some kind of new BUG type :-)
> I'd suggest making it TDEBUG or TDBG.

Agree it looks strange. We wanted to keep 5 letters.
Therefore maybe TVERB (in discussion from v1).

If we agree to use more, TDEBUG or TVERBOSE would be better.

Kind regards,
Petr

> >  | 'TWARN' | Something went wrong but we decided to continue. Mostly used in cleanup functions.
> >  |==============================


More information about the ltp mailing list