This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Refactor et run (and friends).#55537
Merged
auto-submit[bot] merged 7 commits intoflutter:mainfrom Oct 3, 2024
Merged
Conversation
auto-submit bot
pushed a commit
that referenced
this pull request
Oct 1, 2024
Partial work towards flutter/flutter#148420, unblocks #55537. These tests can now be more precise, and changing the fixtures no longer has side-effects on tests across the entire repository. There are about 11 other usages (there were ~50 in these) after this PR that I'll get to, as well as the hard-coded `gn desc` output, before retiring `fixtures.dart`
Contributor
Author
|
@johnmccutchan If you are looking to kill a few minutes, would appreciate a review. Thanks! |
johnmccutchan
approved these changes
Oct 3, 2024
Contributor
johnmccutchan
left a comment
There was a problem hiding this comment.
I have some nits/questions.
Such a nice cleanup. Thanks for this!
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Oct 3, 2024
zanderso
reviewed
Oct 3, 2024
| @@ -0,0 +1,65 @@ | |||
| import 'dart:convert'; | |||
Member
There was a problem hiding this comment.
Needs the engine copyright header.
| @@ -0,0 +1,66 @@ | |||
| import 'dart:convert'; | |||
| @@ -0,0 +1,92 @@ | |||
| import 'package:engine_tool/src/logger.dart'; | |||
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Oct 3, 2024
auto-submit bot
pushed a commit
to flutter/flutter
that referenced
this pull request
Oct 3, 2024
flutter/engine@de1762d...20369c5 2024-10-03 [email protected] [Impeller] A text layout and shaping API for the standalone library. (flutter/engine#55598) 2024-10-03 [email protected] Refactor `et run` (and friends). (flutter/engine#55537) 2024-10-03 [email protected] [Impeller] Do not cull in TextFrameDispatcher::drawDisplayList if the transform has perspective (flutter/engine#55602) 2024-10-03 [email protected] iOS: Fix IOSSurfaceNoopTest (flutter/engine#55621) 2024-10-03 98614782+auto-submit[bot]@users.noreply.github.com Reverts "[Impeller] one aiks context per app. (#55393)" (flutter/engine#55625) 2024-10-03 [email protected] Roll Fuchsia Linux SDK from YKvfbpZ38daiwJ7H0... to TnSpLq0S9XT2rHGl1... (flutter/engine#55622) 2024-10-03 [email protected] [Impeller] one aiks context per app. (flutter/engine#55393) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from YKvfbpZ38dai to TnSpLq0S9XT2 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
auto-submit bot
pushed a commit
that referenced
this pull request
Oct 4, 2024
Address post-submit feedback on #55537 (review).
nick9822
pushed a commit
to nick9822/flutter
that referenced
this pull request
Dec 18, 2024
Does a few things: - Refactors `run_command_test` significantly to reduce global fixtures - Replaced stringly-typed things with enum-like objects - Adds a lot stronger coverage for `run_command` to make future refactors safer - Takes advantage of `package:test` having a workable matchers system and uses it - Changes `return 1` into `throw FatalError(...)` where it makes sense in `run_command` As a result of the refactoring work, I also fixed a bug: Closes flutter#147646.
nick9822
pushed a commit
to nick9822/flutter
that referenced
this pull request
Dec 18, 2024
Address post-submit feedback on flutter/engine#55537 (review).
fluttermirroringbot
pushed a commit
to flutter/flutter
that referenced
this pull request
Dec 18, 2024
…gine#55540) Partial work towards #148420, unblocks flutter/engine#55537. These tests can now be more precise, and changing the fixtures no longer has side-effects on tests across the entire repository. There are about 11 other usages (there were ~50 in these) after this PR that I'll get to, as well as the hard-coded `gn desc` output, before retiring `fixtures.dart`
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Does a few things:
run_command_testsignificantly to reduce global fixturesrun_commandto make future refactors saferpackage:testhaving a workable matchers system and uses itreturn 1intothrow FatalError(...)where it makes sense inrun_commandAs a result of the refactoring work, I also fixed a bug: Closes flutter/flutter#147646.