[all-commits] [llvm/llvm-project] 414745: [lit] Improve test summary output

Julian Lettner via All-commits all-commits at lists.llvm.org
Tue Apr 7 22:22:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 414745026ca78a3f4f773d61aaababe6a0971af1
      https://github.com/llvm/llvm-project/commit/414745026ca78a3f4f773d61aaababe6a0971af1
  Author: Julian Lettner <julian.lettner at gmail.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M llvm/utils/lit/lit/main.py
    M llvm/utils/lit/tests/allow-retries.py
    M llvm/utils/lit/tests/lit-opts.py
    M llvm/utils/lit/tests/parallelism-groups.py
    M llvm/utils/lit/tests/shtest-inject.py

  Log Message:
  -----------
  [lit] Improve test summary output

This change aligns the test summary output along the longest
category label.  We also properly align test counts.

Before:
```
Testing Time: 10.30s
  Unsupported Tests  : 1
  Expected Passes    : 30
```

After:
```
Testing Time: 10.29s
  Unsupported Tests:  1
  Expected Passes  : 30
```


  Commit: 0bc2eab6f5cd522eb83b2b862ce8a2651c97ee59
      https://github.com/llvm/llvm-project/commit/0bc2eab6f5cd522eb83b2b862ce8a2651c97ee59
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M llvm/utils/lit/lit/cl_arguments.py
    M llvm/utils/lit/lit/main.py
    M llvm/utils/lit/lit/util.py

  Log Message:
  -----------
  [lit] Print slowest tests and time histogram before result groups


Compare: https://github.com/llvm/llvm-project/compare/b21bfcca4af6...0bc2eab6f5cd


More information about the All-commits mailing list