[PATCH] D122251: [lit] Use sharding for GoogleTest format

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 12:44:55 PDT 2022


ychen added a comment.

In D122251#3472718 <https://reviews.llvm.org/D122251#3472718>, @michaelplatings wrote:

>> But can this be reverted or made an off-by-default option until it can provide equivalent information & convenience?
>
> I appreciate the speed improvement on Windows, but I'd like to second @sammccall's request.
> Currently I'm intermittently getting the output below from my CI, and it's too opaque.
>
>   Script(shard):
>   --
>   GTEST_COLOR=no
>   GTEST_SHUFFLE=0
>   GTEST_TOTAL_SHARDS=83
>   GTEST_SHARD_INDEX=69
>   GTEST_OUTPUT=json:/path/to/clang/unittests/Tooling/./ToolingTests-Clang-Unit-54664-69-83.json
>   /path/to/clang/unittests/Tooling/./ToolingTests
>   --
>   shard JSON output does not exist: /path/to/clang/unittests/Tooling/./ToolingTests-Clang-Unit-54664-69-83.json
>
> Something, somewhere is sometimes, somehow causing a crash but the information the test system provides is not helpful to figuring out what that is.
> Given the choice between faster opaque tests and slower, more helpful ones I'd like the slower ones back please.

The patch to address this has just been committed (d3efa577f549760a42ba68bda95d1e <https://reviews.llvm.org/rGd3efa577f549760a42ba68bda95d1e576c2adda1>). I'm still waiting for the CI results. Looks good so far. :-)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122251/new/

https://reviews.llvm.org/D122251



More information about the llvm-commits mailing list