Skip to content

Commit 42a6c43

Browse files
committed
Fix tests that construct BuildSetups
1 parent c006421 commit 42a6c43

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Tests/SKCoreTests/FallbackBuildSystemTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ final class FallbackBuildSystemTests: XCTestCase {
5858

5959
let buildSetup = BuildSetup(
6060
configuration: .debug,
61+
defaultWorkspaceType: nil,
6162
path: nil,
6263
flags: BuildFlags(swiftCompilerFlags: [
6364
"-Xfrontend",
@@ -97,6 +98,7 @@ final class FallbackBuildSystemTests: XCTestCase {
9798

9899
let buildSetup = BuildSetup(
99100
configuration: .debug,
101+
defaultWorkspaceType: nil,
100102
path: nil,
101103
flags: BuildFlags(swiftCompilerFlags: [
102104
"-sdk",
@@ -169,6 +171,7 @@ final class FallbackBuildSystemTests: XCTestCase {
169171

170172
let buildSetup = BuildSetup(
171173
configuration: .debug,
174+
defaultWorkspaceType: nil,
172175
path: nil,
173176
flags: BuildFlags(cxxCompilerFlags: [
174177
"-v"
@@ -204,6 +207,7 @@ final class FallbackBuildSystemTests: XCTestCase {
204207

205208
let buildSetup = BuildSetup(
206209
configuration: .debug,
210+
defaultWorkspaceType: nil,
207211
path: nil,
208212
flags: BuildFlags(cxxCompilerFlags: [
209213
"-isysroot",
@@ -254,6 +258,7 @@ final class FallbackBuildSystemTests: XCTestCase {
254258

255259
let buildSetup = BuildSetup(
256260
configuration: .debug,
261+
defaultWorkspaceType: nil,
257262
path: nil,
258263
flags: BuildFlags(cCompilerFlags: [
259264
"-v"

Tests/SKSwiftPMWorkspaceTests/SwiftPMWorkspaceTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ final class SwiftPMWorkspaceTests: XCTestCase {
186186

187187
let config = BuildSetup(
188188
configuration: .release,
189+
defaultWorkspaceType: nil,
189190
path: packageRoot.appending(component: "non_default_build_path"),
190191
flags: BuildFlags(cCompilerFlags: ["-m32"], swiftCompilerFlags: ["-typecheck"])
191192
)

0 commit comments

Comments
 (0)