Skip to content

Commit c2fe633

Browse files
jonathanpennjakepetroules
authored andcommitted
Fix previews tests when Swift explicit modules is forced on (rdar://147441630)
1 parent 40e38c2 commit c2fe633

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/SWBBuildSystemTests/PreviewsBuildOperationTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ fileprivate struct PreviewsBuildOperationTests: CoreBasedTests {
4646
"SWIFT_VERSION": "5.0",
4747
"SWIFT_OPTIMIZATION_LEVEL": "-Onone",
4848
"SDK_STAT_CACHE_ENABLE": "NO",
49+
"SWIFT_ENABLE_EXPLICIT_MODULES": "NO",
4950
"PRODUCT_BUNDLE_IDENTIFIER": "com.test.ProjectName",
5051
"SWIFT_VALIDATE_CLANG_MODULES_ONCE_PER_BUILD_SESSION": "NO",
5152
])
@@ -408,6 +409,7 @@ fileprivate struct PreviewsBuildOperationTests: CoreBasedTests {
408409
"SDKROOT": "iphoneos",
409410
"SWIFT_VERSION": "5.0",
410411
"SWIFT_OPTIMIZATION_LEVEL": "-Onone",
412+
"SWIFT_ENABLE_EXPLICIT_MODULES": "NO",
411413
"SDK_STAT_CACHE_ENABLE": "NO",
412414
"SWIFT_VALIDATE_CLANG_MODULES_ONCE_PER_BUILD_SESSION": "NO",
413415
])

0 commit comments

Comments
 (0)