[llvm-branch-commits] [lit] Move maxIndividualTestTime from global to test suite config (PR #198192)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun May 17 10:11:01 PDT 2026


https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/198192

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.

Stacked PRs:
  https://github.com/llvm/llvm-project/pull/198188
  https://github.com/llvm/llvm-project/pull/198189
  https://github.com/llvm/llvm-project/pull/198190

Assisted-by: Gemini





More information about the llvm-branch-commits mailing list