Skip to content

Commit 4a22340

Browse files
committed
Switch Windows foundation tests back to debug for PR testing
The underlying issue is now resolved. Resolves #83606.
1 parent 9fe4383 commit 4a22340

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

utils/build.ps1

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,11 +1868,7 @@ function Build-SPMProject {
18681868
$Arguments = @(
18691869
"--scratch-path", $Bin,
18701870
"--package-path", $Src,
1871-
"-c", $Configuration,
1872-
"-Xbuild-tools-swiftc", "-I${env:SDKROOT}\usr\lib\swift",
1873-
"-Xbuild-tools-swiftc", "-L${env:SDKROOT}\usr\lib\swift\windows",
1874-
"-Xcc", "-I${env:SDKROOT}\usr\lib\swift",
1875-
"-Xlinker", "-L${env:SDKROOT}\usr\lib\swift\windows"
1871+
"-c", $Configuration
18761872
)
18771873
if ($DebugInfo) {
18781874
if ($Platform.OS -eq [OS]::Windows -and $SwiftDebugFormat -eq "codeview") {
@@ -2992,6 +2988,7 @@ function Test-Foundation {
29922988
-Src $SourceCache\swift-foundation `
29932989
-Bin "$ScratchPath" `
29942990
-Platform $BuildPlatform `
2991+
-Configuration $FoundationTestConfiguration `
29952992
--multiroot-data-file "$SourceCache\swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" `
29962993
--test-product swift-foundationPackageTests
29972994

@@ -3007,6 +3004,7 @@ function Test-Foundation {
30073004
-Src $SourceCache\swift-corelibs-foundation `
30083005
-Bin "$ScratchPath" `
30093006
-Platform $BuildPlatform `
3007+
-Configuration $FoundationTestConfiguration `
30103008
--multiroot-data-file "$SourceCache\swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" `
30113009
--test-product swift-corelibs-foundationPackageTests
30123010
}

0 commit comments

Comments
 (0)