[LTP] [PATCH v3 2/3] lib: Add support for TDEBUG tst_res() flag

Petr Vorel pvorel@suse.cz
Thu Dec 14 00:48:27 CET 2023


Hi all,

...
> > +	{"v",  "-v       Prints debug information"},

> Maybe this should now be called -d since we call it TDEBUG and that will
> avoid having a bit confusing parameters with both -v and -V used.

Also, I have forgotten, I would prefer to enable TDEBUG messages also via
environment variable (e.g. TST_ENABLE_DEBUG). This will be easier for openQA and
possibly other testing frameworks to rerun runtest with debug info (-d is enough
to run locally, but it would require to change runtest to add it to particular
test, but exporting variable will work on unmodified sources).

Kind regards,
Petr



More information about the ltp mailing list