-
Notifications
You must be signed in to change notification settings - Fork 204
[Incremental] Reorder IncrementalCompilationTests and extract OutputFileMapCreator #519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
] | ||
.mapValues {"\(derivedData.appending(component: s.basenameWithoutExt))\($0)"} | ||
} | ||
return Dictionary( uniqueKeysWithValues: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: No extra spaces.
@@ -887,7 +857,7 @@ class CrossModuleIncrementalBuildTests: XCTestCase { | |||
let main = path.appending(component: "main.swift") | |||
try localFileSystem.writeFileContents(main) { | |||
$0 <<< "import MagicKit\n" | |||
$0 <<< "castASpell()" | |||
$0 <<< "castASpell()" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
private let inputPaths: [AbsolutePath] | ||
private let derivedData: AbsolutePath | ||
|
||
static func write(module: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is going to be a convenience method we ought to hide the member wise initializer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved modulo whitespace changes.
@swift-ci please test and merge |
Thank you. |
@swift-ci please test |
In preparation for adding new incremental import tests, pull out
OutputFileMapCreator
. Also some reordering ofIncrementalCompilationTests
.