Skip to content

Commit 0dbb3b6

Browse files
committed
Tests: adjust tests for swift-tools-support-core#312
This adjusts the tests for the updated behaviour in swift-tools-support-core to correct relative path handling. Additionally, enable tests that can now be supported.
1 parent c73d652 commit 0dbb3b6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,6 @@ final class SwiftDriverTests: XCTestCase {
300300
}
301301

302302
func testRecordedInputModificationDates() throws {
303-
#if os(Windows)
304-
throw XCTSkip("TSCUtility.RelativePath failure")
305-
#else
306303
guard let cwd = localFileSystem.currentWorkingDirectory else {
307304
fatalError()
308305
}
@@ -324,7 +321,6 @@ final class SwiftDriverTests: XCTestCase {
324321
.init(file: VirtualPath.relative(utilRelative).intern(), type: .swift) : utilMDate,
325322
])
326323
}
327-
#endif
328324
}
329325

330326
func testPrimaryOutputKinds() throws {
@@ -1132,9 +1128,6 @@ final class SwiftDriverTests: XCTestCase {
11321128
}
11331129

11341130
func testOutputFileMapRelativePathArg() throws {
1135-
#if os(Windows)
1136-
throw XCTSkip("TSCUtility.RelativePath failure")
1137-
#else
11381131
guard let cwd = localFileSystem.currentWorkingDirectory else {
11391132
fatalError()
11401133
}
@@ -1166,7 +1159,6 @@ final class SwiftDriverTests: XCTestCase {
11661159
"main.swift", "util.swift",
11671160
]))
11681161
}
1169-
#endif
11701162
}
11711163

11721164
func testResponseFileExpansion() throws {

0 commit comments

Comments
 (0)