Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@loic-sharma
Copy link
Member

@loic-sharma loic-sharma commented Mar 4, 2024

Allow users to update dependencies. Examples:

  • et fetch Fetch dependencies

In the future, et build will update dependencies if it detects that they have changed.

Also:

  • Updates the status in the README
  • Adds instructions on how to run tests
  • Fixes et run's description
  • Makes the --verbose flag global

Run tests using `//flutter/testing/run_tests.py`:

```shell
testing/run_tests.py --type dart-host --dart-host-filter flutter/tools/engine_tool
Copy link
Member Author

Choose a reason for hiding this comment

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

This depends on your OS. On Windows this should be --dart-host-filter flutter\tools\engine_tool 😞

Copy link
Member

Choose a reason for hiding this comment

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

We could add a script or scripts under engine_tool/dev that runs the tests? (Eventually maybe we'll add et build //flutter/tools/engien_tool:run_tests or something.)

Copy link
Member Author

Choose a reason for hiding this comment

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

Personally I'm fine with using run_tests.py in the short-term with a pointer on how to do so. I'll defer to whatever y'all think is best for now though :)

Copy link
Member

Choose a reason for hiding this comment

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

Nothing needed about this for this PR. Just jotting down the idea.

Run tests using `//flutter/testing/run_tests.py`:

```shell
testing/run_tests.py --type dart-host --dart-host-filter flutter/tools/engine_tool
Copy link
Member

Choose a reason for hiding this comment

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

We could add a script or scripts under engine_tool/dev that runs the tests? (Eventually maybe we'll add et build //flutter/tools/engien_tool:run_tests or something.)


final Map<String, BuilderConfig> configs = <String, BuilderConfig>{};

(Environment, List<List<String>>) linuxEnv(Logger logger) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of copying this into the test, I'd consider (does not have to be in this PR) moving this to like test/envrionment.dart. It might also make sense to encapsulate the concept of runHistory versus over-using primitives (see, for example FakeAdbLogcat).

@loic-sharma loic-sharma force-pushed the et_fetch branch 3 times, most recently from ac5eb8d to d682b82 Compare March 5, 2024 23:06
@loic-sharma loic-sharma dismissed johnmccutchan’s stale review March 5, 2024 23:16

Addressed feedback; ready for re-review

@loic-sharma loic-sharma added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 6, 2024
@auto-submit auto-submit bot merged commit 9aad0e9 into flutter:main Mar 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 6, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Mar 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants