Skip to content

Commit a3ef144

Browse files
committed
re-enable test
1 parent 75ae899 commit a3ef144

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/LLBuildManifest/Tools.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,9 @@ public struct SwiftCompilerTool: ToolProtocol {
267267
stream["executable"] = executable
268268
stream["module-name"] = moduleName
269269
if let moduleAliases = moduleAliases {
270-
stream["module-alias"] = moduleAliases
270+
// Format the key and value to pass to -module-alias flag
271+
let formatted = moduleAliases.map {$0.key + "=" + $0.value}
272+
stream["module-aliases"] = formatted
271273
}
272274
stream["module-output-path"] = moduleOutputPath
273275
stream["import-paths"] = [importPath]

Tests/FunctionalTests/ModuleAliasingTests.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@ class ModuleAliasingTests: XCTestCase {
2525
try XCTSkipIf(true, "Module aliasing is only supported on swift 5.6+")
2626
#endif
2727

28-
try XCTSkipIf(true, "rdar://88722540")
29-
3028
try fixture(name: "Miscellaneous/ModuleAliasing/DirectDeps") { fixturePath in
3129
let app = fixturePath.appending(components: "AppPkg")
32-
XCTAssertBuilds(app)
30+
XCTAssertBuilds(app, extraArgs: ["--vv"])
3331
XCTAssertFileExists(fixturePath.appending(components: "AppPkg", ".build", UserToolchain.default.triple.platformBuildPathComponent(), "debug", "App"))
3432
XCTAssertFileExists(fixturePath.appending(components: "AppPkg", ".build", UserToolchain.default.triple.platformBuildPathComponent(), "release", "App"))
3533
XCTAssertFileExists(fixturePath.appending(components: "AppPkg", ".build", UserToolchain.default.triple.platformBuildPathComponent(), "debug", "GameUtils.swiftmodule"))

0 commit comments

Comments
 (0)