[PATCH] D108238: [lit] Add option to output test result as resultdb json format.

Haowei Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 17 13:31:20 PDT 2021


haowei created this revision.
haowei added a reviewer: phosek.
Herald added a subscriber: delcypher.
haowei requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This change adds an option --output-format=resultdb to allow llvm-lit generating JSON output for the test results, which can be better integrated with certain CI/CQ framework. This change does not alter the default behavior of llvm-lit when generating an output file.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108238

Files:
  llvm/utils/lit/lit/cl_arguments.py
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/lit/reports.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108238.367001.patch
Type: text/x-patch
Size: 5351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/6f9f240b/attachment.bin>


More information about the llvm-commits mailing list