[all-commits] [llvm/llvm-project] 7ce39d: [Lit] Sort previously failed tests early

David Green via All-commits all-commits at lists.llvm.org
Wed Jul 27 09:55:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ce39d80a86a4afbcf1be932b6c98b348b5b6549
      https://github.com/llvm/llvm-project/commit/7ce39d80a86a4afbcf1be932b6c98b348b5b6549
  Author: David Green <david.green at arm.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M llvm/utils/lit/lit/TestTimes.py
    M llvm/utils/lit/tests/Inputs/reorder/.lit_test_times.txt
    A llvm/utils/lit/tests/Inputs/reorder/fff.txt
    M llvm/utils/lit/tests/reorder.py

  Log Message:
  -----------
  [Lit] Sort previously failed tests early

D98179 added a mechanism to sort tests by test time to run slow tests
early, increasing potential parallelism. It also added a feature where
negative tests would be marked as negative, allowing subsequent test
runs to run them earlier. Unfortunately it never actually stored the
negative time, even if all the other code seemed to be inplace to sort
them early. Luckily the fix seems simple.

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




More information about the All-commits mailing list