Skip to content

Commit e217457

Browse files
committed
Remove wasi test
1 parent 9f2999a commit e217457

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,7 +2083,7 @@ final class SwiftDriverTests: XCTestCase {
20832083
XCTAssert(plannedJobs[1].commandLine.containsPathWithBasename("libclang_rt.profile_watchos.a"))
20842084
}
20852085

2086-
// FIXME: These will fail when run on macOS, because
2086+
// FIXME: This will fail when run on macOS, because
20872087
// swift-autolink-extract is not present
20882088
#if os(Linux)
20892089
do {
@@ -2097,18 +2097,6 @@ final class SwiftDriverTests: XCTestCase {
20972097
XCTAssert(plannedJobs[1].commandLine.containsPathWithBasename("libclang_rt.profile-x86_64.a"))
20982098
XCTAssert(plannedJobs[1].commandLine.contains { $0 == .flag("-u__llvm_profile_runtime") })
20992099
}
2100-
2101-
do {
2102-
var driver = try Driver(args: ["swiftc", "-profile-generate", "-target", "wasm32-unknown-wasi", "test.swift"])
2103-
let plannedJobs = try driver.planBuild().removingAutolinkExtractJobs()
2104-
2105-
XCTAssertEqual(plannedJobs.count, 2)
2106-
XCTAssertEqual(plannedJobs[0].kind, .compile)
2107-
2108-
XCTAssertEqual(plannedJobs[1].kind, .link)
2109-
XCTAssert(plannedJobs[1].commandLine.containsPathWithBasename("libclang_rt.profile-wasm32.a"))
2110-
XCTAssert(plannedJobs[1].commandLine.contains { $0 == .flag("-u__llvm_profile_runtime") })
2111-
}
21122100
#endif
21132101

21142102
// TODO: Windows

0 commit comments

Comments
 (0)