[PATCH] D77708: [lit] Improve naming of test result categories

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 23:22:27 PDT 2020


yln created this revision.
Herald added subscribers: llvm-commits, delcypher.
Herald added a project: LLVM.

Improve consistency when printing test results:
Previously we were using different labels for group names (the header
for the list of, e.g., failing tests) and summary count lines.  For
example, "Failing Tests"/"Unexpected Failures".  This commit changes lit
to label things consistently.

Improve wording of labels:
When talking about individual test results, the first word in
"Unexpected Failures", "Expected Passes", and "Individual Timeouts" is
superfluous.  Some labels contain the word "Tests" and some don't.
Let's simplify the names.

Before:

  Failing Tests (1):
    ...
  
  Expected Passes    : 3
  Unexpected Failures: 1

After:

  Failing Tests (1):
    ...
  
  Passing: 3
  Failing: 1


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77708

Files:
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/tests/allow-retries.py
  llvm/utils/lit/tests/googletest-format.py
  llvm/utils/lit/tests/googletest-timeout.py
  llvm/utils/lit/tests/googletest-upstream-format.py
  llvm/utils/lit/tests/lit-opts.py
  llvm/utils/lit/tests/parallelism-groups.py
  llvm/utils/lit/tests/shtest-env.py
  llvm/utils/lit/tests/shtest-format.py
  llvm/utils/lit/tests/shtest-inject.py
  llvm/utils/lit/tests/shtest-not.py
  llvm/utils/lit/tests/shtest-timeout.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77708.255902.patch
Type: text/x-patch
Size: 9757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200408/4b08701b/attachment.bin>


More information about the llvm-commits mailing list