@@ -199,10 +199,11 @@ if ($WindowsSDKArchitectures.Length -eq 1) { $WindowsSDKArchitectures = $Windows
199
199
200
200
if ($Test.Length -eq 1 ) { $Test = $Test [0 ].Split(" ," ) }
201
201
202
- if ($Test -contains " *" ) {
203
- # Explicitly don't include llbuild yet since tests are known to fail on Windows
204
- $Test = @ (" lld" , " lldb" , " swift" , " dispatch" , " foundation" , " xctest" , " swift-format" , " sourcekit-lsp" )
205
- }
202
+ # if ($Test -contains "*") {
203
+ # # Explicitly don't include llbuild yet since tests are known to fail on Windows
204
+ # $Test = @("lld", "lldb", "swift", "dispatch", "foundation", "xctest", "swift-format", "sourcekit-lsp")
205
+ # }
206
+ $Test = @ (" foundation" )
206
207
207
208
# # Declare static build and build tool parameters.
208
209
@@ -1802,10 +1803,11 @@ function Build-SPMProject {
1802
1803
}
1803
1804
Test {
1804
1805
$ActionName = " test"
1806
+ $Arguments += @ (" -v" )
1805
1807
}
1806
1808
TestParallel {
1807
1809
$ActionName = " test"
1808
- $Arguments += @ (" --parallel" )
1810
+ $Arguments += @ (" --parallel" , " -v " )
1809
1811
}
1810
1812
}
1811
1813
@@ -2850,8 +2852,10 @@ function Test-Foundation {
2850
2852
- Src $SourceCache \swift- foundation `
2851
2853
- Bin " $ScratchPath " `
2852
2854
- Platform $BuildPlatform `
2855
+ - Configuration $FoundationTestConfiguration `
2853
2856
-- multiroot- data- file " $SourceCache \swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" `
2854
- -- test-product swift- foundationPackageTests
2857
+ -- test-product swift- foundationPackageTests `
2858
+ - j 1
2855
2859
2856
2860
Invoke-IsolatingEnvVars {
2857
2861
$env: DISPATCH_INCLUDE_PATH = " $ ( Get-SwiftSDK $BuildPlatform.OS ) /usr/include"
@@ -2865,8 +2869,10 @@ function Test-Foundation {
2865
2869
- Src $SourceCache \swift- corelibs- foundation `
2866
2870
- Bin " $ScratchPath " `
2867
2871
- Platform $BuildPlatform `
2872
+ - Configuration $FoundationTestConfiguration `
2868
2873
-- multiroot- data- file " $SourceCache \swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" `
2869
- -- test-product swift- corelibs- foundationPackageTests
2874
+ -- test-product swift- corelibs- foundationPackageTests `
2875
+ - j 1
2870
2876
}
2871
2877
}
2872
2878
0 commit comments