[PATCH] D78164: [lit] Provide extension API for custom result categories

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 16:20:26 PDT 2020


yln created this revision.
Herald added subscribers: llvm-commits, delcypher.
Herald added a project: LLVM.
yln added reviewers: jdoerfert, arichardson, cmatthews, jdenny, rnk.
yln edited the summary of this revision.

The lnt test suite defines custom result codes [1].  Support those via
an extension API instead of "by accident", which should offer the
advantage of properly handling them when we print test results.

[1] https://reviews.llvm.org/D77986


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78164

Files:
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/tests/Inputs/custom-result-category/format.py
  llvm/utils/lit/tests/Inputs/custom-result-category/lit.cfg
  llvm/utils/lit/tests/Inputs/custom-result-category/test1.txt
  llvm/utils/lit/tests/Inputs/custom-result-category/test2.txt
  llvm/utils/lit/tests/Inputs/shtest-inject/lit.cfg
  llvm/utils/lit/tests/custom-result-category.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78164.257545.patch
Type: text/x-patch
Size: 5124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200414/7fa2a487/attachment-0001.bin>


More information about the llvm-commits mailing list