[LTP] [PATCH 01/10] lib: Introduce more TEST_* macros

Petr Vorel pvorel@suse.cz
Fri Nov 13 21:28:28 CET 2020


> In order to simplify common return value checks.

Great improvement, thanks!

The only concern I have is for tests which does not end 0
as it's not obvious from the output (without looking into the test source)
that everything it's working, but not a big deal.

FYI I plan to send a patchset which runs tests in lib/newlib_tests/.
First I thought simple check for 0 would be ok, but with non-zero results it
might be good to not only check expected return value but maybe for whole
output (the same approach we have unfinished in patchset from Christian Lanig).

Kind regards,
Petr


More information about the ltp mailing list