-
Notifications
You must be signed in to change notification settings - Fork 121
Dependencies: support clang modules when parsing dependency validation info #778
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
Changes from all commits
5349aac
a43af46
c5f62f1
6a44f6a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -542,7 +542,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests { | |
|
||
// Expect complaint about undeclared dependency | ||
try await tester.checkBuild(parameters: BuildParameters(configuration: "Debug"), runDestination: .host, persistent: true) { results in | ||
results.checkError(.contains("Missing entries in MODULE_DEPENDENCIES: Foundation (for task")) | ||
results.checkError(.contains("Missing entry in MODULE_DEPENDENCIES: Foundation (for task")) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm why would this change? I thought the top level diag was always pluralized. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The test fails for me locally with "entries", I think it's because the "(for task" substring is at the end of the diagnostic which will have the singular messages. So the whole diagnostic is like:
If you want I could change this to look for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The missing entries are supposed to be de-duplicated (which is why the test checks for "(for task" at the end). It sounds like that's not working. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually I think there's an issue with the deduplication in my implementation of parsing v1 traces that I need to fix. However, even after fixing that the diagnostic looks like this:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok I think my last commit should fix the deduplication issue, the first line of the diagnostic has only one mention of |
||
} | ||
|
||
// Declaring dependencies resolves the problem | ||
|
Uh oh!
There was an error while loading. Please reload this page.