diff --git a/utils/build.ps1 b/utils/build.ps1 index ad774decea198..80573f12835c3 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -199,10 +199,11 @@ if ($WindowsSDKArchitectures.Length -eq 1) { $WindowsSDKArchitectures = $Windows if ($Test.Length -eq 1) { $Test = $Test[0].Split(",") } -if ($Test -contains "*") { - # Explicitly don't include llbuild yet since tests are known to fail on Windows - $Test = @("lld", "lldb", "swift", "dispatch", "foundation", "xctest", "swift-format", "sourcekit-lsp") -} +#if ($Test -contains "*") { +# # Explicitly don't include llbuild yet since tests are known to fail on Windows +# $Test = @("lld", "lldb", "swift", "dispatch", "foundation", "xctest", "swift-format", "sourcekit-lsp") +#} +$Test = @("foundation") ## Declare static build and build tool parameters. @@ -1802,10 +1803,11 @@ function Build-SPMProject { } Test { $ActionName = "test" + $Arguments += @("-v") } TestParallel { $ActionName = "test" - $Arguments += @("--parallel") + $Arguments += @("--parallel", "-v") } } @@ -2850,6 +2852,7 @@ function Test-Foundation { -Src $SourceCache\swift-foundation ` -Bin "$ScratchPath" ` -Platform $BuildPlatform ` + -Configuration $FoundationTestConfiguration ` --multiroot-data-file "$SourceCache\swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" ` --test-product swift-foundationPackageTests @@ -2865,6 +2868,7 @@ function Test-Foundation { -Src $SourceCache\swift-corelibs-foundation ` -Bin "$ScratchPath" ` -Platform $BuildPlatform ` + -Configuration $FoundationTestConfiguration ` --multiroot-data-file "$SourceCache\swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" ` --test-product swift-corelibs-foundationPackageTests }