Skip to content

Commit 2be681e

Browse files
[windows] only test the Swift subset of LLDB tests in CI
1 parent 46ce02b commit 2be681e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/build.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2321,6 +2321,10 @@ function Test-Compilers([Hashtable] $Platform, [string] $Variant, [switch] $Test
23212321
# LLDB Unit tests link against this library
23222322
LLVM_UNITTEST_LINK_FLAGS = "$(Get-SwiftSDK -OS Windows -Identifier Windows)\usr\lib\swift\windows\$($Platform.Architecture.LLVMName)\swiftCore.lib";
23232323
}
2324+
2325+
if ($env:ONLY_SWIFT_LLDB_TESTS -eq '1') {
2326+
$TestingDefines.LLDB_TEST_USER_ARGS += ";--filter='lang/swift'"
2327+
}
23242328
}
23252329

23262330
if (-not $Targets) {

0 commit comments

Comments
 (0)