Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
only run test on macOS to work around missing swift-driver
  • Loading branch information
rauhul authored and MaxDesiatov committed Dec 7, 2023
commit 51093ead923352aac425e081eb9a2e896898d4b4
9 changes: 9 additions & 0 deletions Tests/FunctionalTests/MiscellaneousTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,14 @@ class MiscellaneousTestCase: XCTestCase {
}

func testLTO() throws {
#if os(macOS)
// FIXME: this test requires swift-driver to be installed
// Currently swift-ci does not build/install swift-driver before running
// swift-package-manager tests which results in this test failing.
// See the following additional discussion:
// - https://github.com/apple/swift/pull/69696
// - https://github.com/apple/swift/pull/61766
// - https://github.com/apple/swift-package-manager/pull/5842#issuecomment-1301632685
try fixture(name: "Miscellaneous/LTO/SwiftAndCTargets") { fixturePath in
do {
let output = try executeSwiftBuild(
Expand All @@ -351,6 +359,7 @@ class MiscellaneousTestCase: XCTestCase {
XCTFail("\(error)")
}
}
#endif
}

func testUnicode() throws {
Expand Down