From 81e034567dfa92ca4d59f742ea8be60067ded89a Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 14 Apr 2025 12:48:29 -0700 Subject: [PATCH] utils: add `--time-tests` to lit invocation Try to extract more timing information about the tests to understand CI times better. --- utils/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build.ps1 b/utils/build.ps1 index 7a822e11802e9..002c96eeeade4 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -1837,7 +1837,7 @@ function Test-Compilers([Hashtable] $Platform, [switch] $TestClang, [switch] $Te # No watchpoint support on windows: https://github.com/llvm/llvm-project/issues/24820 LLDB_TEST_USER_ARGS = "--skip-category=watchpoint"; # gtest sharding breaks llvm-lit's --xfail and LIT_XFAIL inputs: https://github.com/llvm/llvm-project/issues/102264 - LLVM_LIT_ARGS = "-v --no-gtest-sharding --show-xfail"; + LLVM_LIT_ARGS = "-v --no-gtest-sharding --time-tests"; # LLDB Unit tests link against this library LLVM_UNITTEST_LINK_FLAGS = "$(Get-SwiftSDK Windows)\usr\lib\swift\windows\$($Platform.Architecture.LLVMName)\swiftCore.lib"; }