[all-commits] [llvm/llvm-project] f6393d: [lit] Add configurable slowest-test limit to --tim...

Manuel Carrasco via All-commits all-commits at lists.llvm.org
Tue Jul 14 02:47:41 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6393d657271b632de22cdfeaff35cfb3d45bf92
      https://github.com/llvm/llvm-project/commit/f6393d657271b632de22cdfeaff35cfb3d45bf92
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M llvm/docs/CommandGuide/lit.rst
    M llvm/utils/lit/lit/cl_arguments.py
    M llvm/utils/lit/lit/main.py
    M llvm/utils/lit/lit/util.py
    A llvm/utils/lit/tests/Inputs/time-tests/b.txt
    A llvm/utils/lit/tests/Inputs/time-tests/c.txt
    M llvm/utils/lit/tests/time-tests.py

  Log Message:
  -----------
  [lit] Add configurable slowest-test limit to --time-tests (#208444)

The PR parameterizes `--time-tests`, which was hardcoded to 20 tests. We
now allow `--time-tests=N` or `--time-tests=all`.

The changes still honor the original behavior of `--time-tests`. The
parsing logic could be slightly simpler if `--time-tests` would always
require an explicit number of tests (like `-j`), but that would be a CLI
breaking change.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list