Skip to content

Commit 74cb6dc

Browse files
committed
Add logging
1 parent d58aff4 commit 74cb6dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/_InternalTestSupport/misc.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ public func testWithTemporaryDirectory<Result>(
9999
.replacing(":", with: "_")
100100
return try await withTemporaryDirectory(prefix: "spm-tests-\(cleanedFunction)") { tmpDirPath in
101101
defer {
102+
let cwd = FileManager.default.currentDirectoryPath
103+
print("FMCWD: \(cwd)")
102104
// Unblock and remove the tmp dir on deinit.
103105
try? localFileSystem.chmod(.userWritable, path: tmpDirPath, options: [.recursive])
104106
try? localFileSystem.removeFileTree(tmpDirPath)
@@ -708,4 +710,4 @@ public func executableName(_ name: String) -> String {
708710
#else
709711
return name
710712
#endif
711-
}
713+
}

0 commit comments

Comments
 (0)