[LTP] [PATCH] lib: tst_kconfig: Add runtime checks
Cyril Hrubis
chrubis@suse.cz
Thu Mar 26 15:09:49 CET 2026
Hi!
> > IMHO that's why ssh supports multiple '-v', e.g. '-v -v -v' or '-vvv'
> > instead of
> > -v2 or -v3).
> >
> > Anyway I'd prefer solving this somehow in the code so that users don't
> > have to
> > bother about log levels, but I have no idea how. Maybe yet another enum
> > tst_res_flags member? Because aa5a6fcdcd skipped messages, which are likely
> > useful when run by child process (the test), but not by library process.
> > And I
> > want to print message which is always run by library process. Maybe to
> > have some
> > #define in source code, which would force logging even for library
> > process? (not
> > sure what will be needed more often).
> >
>
> This is something worth thinking about carefully, btw, next week is
> our spring festival hoday. I maybe reply you a bit later :).
Did we reach any conclusion here?
I think that we should implement different debug levels in LTP and drop
LTP_QUIET in the process. Does that sounds reasonable?
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list