Skip to content

Commit 8d38100

Browse files
authored
Merge pull request #489 from artemcm/no_littering_in_build
Add -working-directory argument to incremental tests' `runDriver` routine.
2 parents eab0e13 + 527f6aa commit 8d38100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftDriverTests/IncrementalCompilationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ final class NonincrementalCompilationTests: XCTestCase {
267267
$0 <<< "let bar = 2"
268268
}
269269
try assertDriverDiagnostics(args: [
270-
"swiftc", "-module-name", "theModule",
270+
"swiftc", "-module-name", "theModule", "-working-directory", path.pathString,
271271
main.pathString, other.pathString
272272
] + otherArgs) {driver, verifier in
273273
verifier.forbidUnexpected(.error, .warning, .note, .remark, .ignored)

0 commit comments

Comments
 (0)