Skip to content

Conversation

@davidungar
Copy link
Contributor

In order to pass legacy tests, honor -driver-always-rebuild-dependents

@davidungar davidungar requested a review from artemcm December 8, 2020 17:55
@davidungar
Copy link
Contributor Author

@swift-ci please test

case .needsCascadingBuild:
switch (status, alwaysRebuildDependents) {

case (_, true):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test that exercises the (.upToDate, true) to ensure this is not regressed in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the legacy lit tests already does so; that's how I found the issue. But, let me see if I can add an XC test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And thanks!

@davidungar
Copy link
Contributor Author

@swift-ci please test

@artemcm
Copy link
Contributor

artemcm commented Dec 8, 2020

Thank you, @davidungar!

@davidungar davidungar force-pushed the honor-always-rebuild-deps branch from 66f1641 to ada2f1c Compare December 9, 2020 19:45
@davidungar
Copy link
Contributor Author

@swift-ci please test

@davidungar davidungar force-pushed the honor-always-rebuild-deps branch from ada2f1c to b3c309f Compare December 9, 2020 19:49
@davidungar
Copy link
Contributor Author

@swift-ci please test

@davidungar davidungar merged commit db5cb94 into swiftlang:main Dec 9, 2020
@davidungar
Copy link
Contributor Author

Fixes rdar://72157018

@davidungar davidungar deleted the honor-always-rebuild-deps branch January 29, 2021 17:33
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