This is an archive of the discontinued LLVM Phabricator instance.

Add max-failures option to lit documentation
ClosedPublic

Authored by sqlbyme on Jun 6 2020, 5:01 PM.

Details

Summary

The max-failures option is not listed in the online documentation. I thought we should fix that.

Diff Detail

Event Timeline

sqlbyme created this revision.Jun 6 2020, 5:01 PM
cmatthews accepted this revision.Jun 6 2020, 5:38 PM

Good idea!

This revision is now accepted and ready to land.Jun 6 2020, 5:38 PM
This revision was automatically updated to reflect the committed changes.
jdenny added a subscriber: jdenny.Jun 8 2020, 8:17 AM
jdenny added inline comments.
llvm/docs/CommandGuide/lit.rst
165

vairable -> variable

Also, does a MAX_FAILURES environment variable exist? git grep MAX_FAILURES doesn't find it.

jdenny added inline comments.
llvm/docs/CommandGuide/lit.rst
165

Ping.

yln added inline comments.Jun 19 2020, 11:00 AM
llvm/docs/CommandGuide/lit.rst
165

AFAIK, lit does not respect a MAX_FAILURES env var. One can do: LIT_OPTS=--max-failures=10. I think we can remove the last sentence from the description.