Skip to content

[Incremental Imports] Fix tests to avoid priors modTime changes #38356

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

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

davidungar
Copy link
Contributor

A new safeguard for incremental imports relies on the mod-time of the priors being consistent with that in the build record.

Update the tests to work with that safeguard.

fixes rdar://80485272

@davidungar
Copy link
Contributor Author

@swift-ci please smoke test

@davidungar davidungar changed the title [Incremental Imports] Fix tests the avoid priors modTime changes [Incremental Imports] Fix tests to avoid priors modTime changes Jul 13, 2021
@davidungar davidungar merged commit ccf267b into swiftlang:main Jul 13, 2021
@compnerd
Copy link
Member

compnerd commented Jul 14, 2021

This seems to have regressed the Windows VS2017 CI: https://ci-external.swift.org/job/oss-swift-windows-x86_64/8019/

The bash expansion isn't actually portable (it's unclear to me how the VS2019 build is getting away with this).

Could you please look into this or revert the change?

compnerd added a commit that referenced this pull request Jul 20, 2021
PR #38356 regressed the Windows (2017) CI.  This attempts to remove the bashisms from the test to repair the test on Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants