[all-commits] [llvm/llvm-project] 2f0815: Reland: [lit] Move maxIndividualTestTime from glob...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed May 27 13:19:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f0815059c7b033acf935d49380d8b0166460bb3
      https://github.com/llvm/llvm-project/commit/2f0815059c7b033acf935d49380d8b0166460bb3
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M bolt/test/lit.cfg.py
    M libc/utils/libctest/format.py
    M libsycl/test/lit.cfg.py
    M lldb/test/API/lit.cfg.py
    M lldb/test/API/lldbtest.py
    M lldb/test/Shell/lit.cfg.py
    M llvm/utils/lit/lit/LitConfig.py
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/TestingConfig.py
    M llvm/utils/lit/lit/formats/googletest.py
    M llvm/utils/lit/lit/main.py
    M llvm/utils/lit/tests/Inputs/googletest-timeout/lit.cfg
    M llvm/utils/lit/tests/Inputs/shtest-timeout/lit.cfg

  Log Message:
  -----------
  Reland: [lit] Move maxIndividualTestTime from global to test suite config (#199996)

Simplify LitConfig initialization and setter to allow None values.
TestingConfig.maxIndividualTestTime is initialized to 0 (or resolved to
0 if None) strictly during initialization.

This fixes an issue where the aggressive BOLT timeout of 60s (previously
set globally on lit_config) was leaking and affecting libc++ tests. By
moving the timeout configuration from the global lit_config to the
individual test suite config, we ensure that timeouts are isolated and
respect suite-local settings without leaking.

PR Stack:
* https://github.com/llvm/llvm-project/pull/198192
* https://github.com/llvm/llvm-project/pull/199886
* ➤ https://github.com/llvm/llvm-project/pull/199996
* https://github.com/llvm/llvm-project/pull/198193

The diff from #198192 is 39b632f741012bfbff9858407765e45435ad95ff

Assisted-by: Gemini



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