[LTP] [PATCH 0/2] lib: Add TINFO_WARN

Petr Vorel pvorel@suse.cz
Fri Jun 21 15:53:58 CEST 2024


Hi Li,

...
> Basically, the method works well, but contains a tiny issue that people
> sometimes need to print variable value in tst_res(, "val = %d", val),
> so it still needs refined code to resolve that.

> I will send out a full support patch after testing good on my side.
> (maybe tomorrow).
... and __VA_ARGS__

see include/tst_test_macros.h

#define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__

Kind regards,
Petr


More information about the ltp mailing list