[all-commits] [llvm/llvm-project] 6eee23: [unittest] Add option to allow disabling sharding ...
Haowei via All-commits
all-commits at lists.llvm.org
Tue Oct 17 16:53:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6eee238975e435ad3e5aa7f2b1817ca756911e04
https://github.com/llvm/llvm-project/commit/6eee238975e435ad3e5aa7f2b1817ca756911e04
Author: Haowei <haowei at google.com>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M llvm/utils/lit/lit/LitConfig.py
M llvm/utils/lit/lit/cl_arguments.py
M llvm/utils/lit/lit/formats/googletest.py
M llvm/utils/lit/lit/main.py
A llvm/utils/lit/tests/Inputs/googletest-no-sharding/DummySubDir/OneTest.py
A llvm/utils/lit/tests/Inputs/googletest-no-sharding/lit.cfg
A llvm/utils/lit/tests/googletest-no-sharding.py
Log Message:
-----------
[unittest] Add option to allow disabling sharding in unittest (#67063)
[unittest] Add lit option to allow disabling sharding in unittest
By default, googletest based unit tests uses sharding to speed up the
testing. However, when these unit tests are run through wrapper program
on a remote platform with large round trip time, the sharding will increase
the time cost dramatically. This patch adds a LLVM LIT option
"--disable-gtest-sharding" to allow sharding on gtest based unittest to
be disabled.
More information about the All-commits
mailing list