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
10 lines
301 B
Python
10 lines
301 B
Python
## Check that we can run tests early.
|
|
|
|
# RUN: %{lit} -j1 %{inputs}/early-tests | FileCheck %s
|
|
|
|
# CHECK: -- Testing: 3 tests, 1 workers --
|
|
# CHECK-NEXT: PASS: early-tests :: subdir/ccc.txt
|
|
# CHECK-NEXT: PASS: early-tests :: aaa.txt
|
|
# CHECK-NEXT: PASS: early-tests :: bbb.txt
|
|
# CHECK: Passed: 3
|