Skip to content

Commit bb8e6d0

Browse files
committed
[DNM] Log all the things
1 parent 4becc5d commit bb8e6d0

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

utils/build.ps1

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,11 @@ if ($WindowsSDKArchitectures.Length -eq 1) { $WindowsSDKArchitectures = $Windows
199199

200200
if ($Test.Length -eq 1) { $Test = $Test[0].Split(",") }
201201

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")
206207

207208
## Declare static build and build tool parameters.
208209

@@ -1802,10 +1803,11 @@ function Build-SPMProject {
18021803
}
18031804
Test {
18041805
$ActionName = "test"
1806+
$Arguments += @("-v")
18051807
}
18061808
TestParallel {
18071809
$ActionName = "test"
1808-
$Arguments += @("--parallel")
1810+
$Arguments += @("--parallel", "-v")
18091811
}
18101812
}
18111813

@@ -2850,6 +2852,7 @@ function Test-Foundation {
28502852
-Src $SourceCache\swift-foundation `
28512853
-Bin "$ScratchPath" `
28522854
-Platform $BuildPlatform `
2855+
-Configuration $FoundationTestConfiguration `
28532856
--multiroot-data-file "$SourceCache\swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" `
28542857
--test-product swift-foundationPackageTests
28552858

@@ -2865,6 +2868,7 @@ function Test-Foundation {
28652868
-Src $SourceCache\swift-corelibs-foundation `
28662869
-Bin "$ScratchPath" `
28672870
-Platform $BuildPlatform `
2871+
-Configuration $FoundationTestConfiguration `
28682872
--multiroot-data-file "$SourceCache\swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" `
28692873
--test-product swift-corelibs-foundationPackageTests
28702874
}

0 commit comments

Comments
 (0)