forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify how the list of TestCases for each TestConfiguration is made.
- Make it synchronous. I did some benchmarking and the async didn't seem to make a measurable difference and made the code harder to follow. - Fix a bunch of small-scale idiom things: "var", names, etc. - Move TestCase.hash into TestFile since that lets us access it before we've created a TestCase. - Remove dead code. - Make it clearer which functions work with TestFiles and which with TestCases. - Clarify the code that determines whether or not to enqueue a test. The last point is the motivating one. Soon, I'll be extending this code to take NNBD into account when determining which tests to skip, so I wanted to clean it up some first. Change-Id: I488ed6c7d2453535968ac43389a2fd8370ead57d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116662 Commit-Queue: Bob Nystrom <rnystrom@google.com> Reviewed-by: Mayank Patke <fishythefish@google.com>
- Loading branch information
1 parent
c8e389f
commit 0d1636e
Showing
8 changed files
with
190 additions
and
235 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
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
Oops, something went wrong.