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

Cyril Hrubis chrubis@suse.cz
Thu Dec 14 10:39:40 CET 2023


Hi!
> > 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).

Sure.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list