Skip to content

Commit 466cadc

Browse files
committed
More logging
1 parent 253194a commit 466cadc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/_InternalTestSupport/misc.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public func testWithTemporaryDirectory<Result>(
100100
return try await withTemporaryDirectory(prefix: "spm-tests-\(cleanedFunction)") { tmpDirPath in
101101
defer {
102102
let cwd = FileManager.default.currentDirectoryPath
103-
print("TWT-FMCWD: \(cwd)")
103+
print("TWT-FMCWD: \(cwd) - \(cleanedFunction)")
104104
// Unblock and remove the tmp dir on deinit.
105105
try? localFileSystem.chmod(.userWritable, path: tmpDirPath, options: [.recursive])
106106
try? localFileSystem.removeFileTree(tmpDirPath)
@@ -134,7 +134,7 @@ public func testWithTemporaryDirectory<Result>(
134134
defer {
135135
// Unblock and remove the tmp dir on deinit.
136136
let cwd = FileManager.default.currentDirectoryPath
137-
print("FXT-FMCWD: \(cwd)")
137+
print("FXT-FMCWD: \(cwd) - \(copyName)")
138138
try? localFileSystem.chmod(.userWritable, path: tmpDirPath, options: [.recursive])
139139
try? localFileSystem.removeFileTree(tmpDirPath)
140140
}
@@ -268,7 +268,7 @@ public enum TestError: Error {
268268
if removeFixturePathOnDeinit {
269269
// Unblock and remove the tmp dir on deinit.
270270
let cwd = FileManager.default.currentDirectoryPath
271-
print("FIX-FMCWD: \(cwd)")
271+
print("FIX-FMCWD: \(cwd) - \(name)")
272272
try? localFileSystem.chmod(.userWritable, path: tmpDirPath, options: [.recursive])
273273
try? localFileSystem.removeFileTree(tmpDirPath)
274274
}

0 commit comments

Comments
 (0)