[LTP] TWARN and "ltp-pan reported PASS"

Petr Vorel pvorel@suse.cz
Thu May 18 12:42:23 CEST 2017


Hi Cyril,

> Looks like I've haven't been clear enough. The ltp-pan mapped any
> non-zero test exit value to a failure. Partly becasuse there were (and
> possibly still may be some) testcases that do not use LTP exit bitflags
> and partly because ltp-pan predates LTP, at least that's what I remeber
> from some CVS archeology.

> Then we added special support for the TCONF exit status, since otherwise
> skipped testcases were listed as failed as well.

> So yes the TWARN still maps to a failure in ltp-pan and we use TWARN
> mostly for non-fatal (to the test execution) failures, mostly in test
> cleanups. Is that clear enough?

Thanks for an explanation.
I still wish TWARN wouldn't be considered as error (and find and fix these tests which
don't exit bitflags). And I don't wouldn't like to introduce some kind of soft warning flag,
which would lead to exit 0 which could be an alternative solution.


Kind regards,
Petr


More information about the ltp mailing list