Skip to content

Commit 4c101cc

Browse files
committed
Fix CommandLineSpecTests.swiftTaskConstruction()
I broke this in #31 since that added a new setting that needs to be manually applied in this particular test.
1 parent c9c7265 commit 4c101cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/SWBCoreTests/CommandLineSpecTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ import SWBMacro
502502
}
503503

504504
// remove in rdar://53000820
505-
@Test(.requireSDKs(.macOS), .requireXcode16())
505+
@Test(.requireSDKs(.macOS))
506506
func swiftTaskConstructionWithoutResponseFile() async throws {
507507
let core = try await getCore()
508508
let swiftSpec = try core.specRegistry.getSpec() as SwiftCompilerSpec
@@ -529,6 +529,7 @@ import SWBMacro
529529
table.push(BuiltinMacros.SWIFT_TARGET_TRIPLE, core.specRegistry.internalMacroNamespace.parseString("$(CURRENT_ARCH)-apple-$(SWIFT_PLATFORM_TARGET_PREFIX)$(SWIFT_DEPLOYMENT_TARGET)$(LLVM_TARGET_TRIPLE_SUFFIX)"))
530530
table.push(BuiltinMacros.OBJECT_FILE_DIR, literal: "/tmp/output/obj")
531531
table.push(BuiltinMacros.PER_ARCH_OBJECT_FILE_DIR, BuiltinMacros.namespace.parseString("/tmp/output/obj-normal/x86_64"))
532+
table.push(BuiltinMacros.PER_ARCH_MODULE_FILE_DIR, BuiltinMacros.namespace.parseString("/tmp/output/obj-normal/x86_64"))
532533
table.push(BuiltinMacros.ENABLE_DEFAULT_SEARCH_PATHS, literal: true)
533534
table.push(BuiltinMacros.BUILT_PRODUCTS_DIR, literal: "/tmp/output/sym")
534535
let builtProductsDirList = core.specRegistry.internalMacroNamespace.parseStringList("$(BUILT_PRODUCTS_DIR)")

0 commit comments

Comments
 (0)