[LTP] [PATCH] lib: Extend -D flag to support multiple debug levels
Li Wang
liwang@redhat.com
Tue Mar 3 03:55:48 CET 2026
On Tue, Mar 03, 2026 at 10:45:31AM +0800, Li Wang wrote:
> On Mon, Mar 02, 2026 at 03:11:24PM +0000, Andrea Cervesato via ltp wrote:
> > Maybe we should also apply the same approach to the LTP_ENABLE_DEBUG
> > environment variables, otherwise we might support only 0/1 while using
> > it.
> >
> > WDYT?
>
> Sounds reasonable, LTP_ENABLE_DEBUG now should support '0, 1 or 2' and
> drop the 'y' option.
After thinking over, the 'y option could be reserved for those who are already
familiar with its usage, just like the '-D' option represents '-D1'.
--
Regards,
Li Wang
More information about the ltp
mailing list