[PATCH] D81316: [lit] Include unexecuted tests in xUnit report

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 16:16:13 PDT 2020


yln created this revision.
Herald added subscribers: llvm-commits, delcypher.
Herald added a project: LLVM.
yln edited the summary of this revision.
yln added reviewers: jdenny, serge-sans-paille, probinson, ldionne, varungandhi-apple, rnk.
Herald added a subscriber: dexonsmith.

Pass in all discovered tests to report generators.

The XunitReport generator now creates testcase items for unexecuted
tests and documents why they have been skipped.  This makes it easier
to compare test runs with different filters or configurations, or across
platforms.

I don't know who is using the JsonReport generator and what the
expectations there are (it doesn't have tests), so decided to preserve
the old behavior by filtering out the unexecuted tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81316

Files:
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/lit/reports.py
  llvm/utils/lit/tests/Inputs/xunit-output/dummy_format.py
  llvm/utils/lit/tests/Inputs/xunit-output/excluded.ini
  llvm/utils/lit/tests/Inputs/xunit-output/missing_feature.ini
  llvm/utils/lit/tests/Inputs/xunit-output/pass.ini
  llvm/utils/lit/tests/Inputs/xunit-output/unsupported.ini
  llvm/utils/lit/tests/shtest-format.py
  llvm/utils/lit/tests/xunit-output.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81316.268956.patch
Type: text/x-patch
Size: 7009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/a97478c4/attachment.bin>


More information about the llvm-commits mailing list