Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Fix a crash in cycle detection when scanning from the top item.
- This also fixes up a few other issues: 1. We know take the queue locks during cycle discovery, so that we have a consistent view of the world. 2. We now return an empty result value when the build fails due to a cycle being discovered, and document this fact. - This also extend the BuildEngine unittest to be able to dynamically change the inputs during repeated builds, and uses that to test the cycle detection.
- Loading branch information
Showing
3 changed files
with
156 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters