[all-commits] [llvm/llvm-project] 161e82: [lit] Add "early_tests" config option

David Zarzycki via All-commits all-commits at lists.llvm.org
Wed Feb 17 03:33:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 161e826c586eefad06751aa35e2c0b8070a70bb1
      https://github.com/llvm/llvm-project/commit/161e826c586eefad06751aa35e2c0b8070a70bb1
  Author: David Zarzycki <dave at znu.io>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M llvm/docs/CommandGuide/lit.rst
    M llvm/utils/lit/lit/Test.py
    M llvm/utils/lit/lit/TestingConfig.py
    A llvm/utils/lit/tests/Inputs/early-tests/aaa.txt
    A llvm/utils/lit/tests/Inputs/early-tests/bbb.txt
    A llvm/utils/lit/tests/Inputs/early-tests/lit.cfg
    A llvm/utils/lit/tests/Inputs/early-tests/subdir/ccc.txt
    A llvm/utils/lit/tests/early-tests.py

  Log Message:
  -----------
  [lit] Add "early_tests" config option

With enough cores, the slowest tests can significantly change the total testing time if they happen to run late. With this change, a test suite can improve performance (for high-end systems) by listing just a few of the slowest tests up front.

Reviewed By: jdenny, jhenderson

Differential Revision: https://reviews.llvm.org/D96594




More information about the All-commits mailing list