[PATCH] D82233: [lit] Add --show command line option

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 09:39:52 PDT 2020


yln marked an inline comment as done.
yln added inline comments.


================
Comment at: llvm/docs/CommandGuide/lit.rst:120-121
+
+ Show the names of the specified tests. Choose from:
+ all, excluded, skipped, unsupported, pass, flakypass, xfail.
+
----------------
varungandhi-apple wrote:
> Could you add an example here with how multiple items should be selected? For example, one might wonder
> 
> 1. Can you do something like `--show skipped,xfail`?
> 2. What are the semantics of `--show skipped --show xfail` (does it mean skipped AND xfail or does it only mean xfail)?
> 
> You might also want to add a sentence to `--help` text on how to use multiple options.
Good point, I will add an example here.
1. See test.
2. Last one wins.
3. The `--help` part is auto-generated by argparse (because we use the `choices` parameter).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82233/new/

https://reviews.llvm.org/D82233





More information about the llvm-commits mailing list