Skip to content

Pass FLUTTER_TOOL_ARGS to snapshot command.#29938

Merged
jonahwilliams merged 12 commits intoflutter:masterfrom
jonahwilliams:enable_Test_asserts
Mar 27, 2019
Merged

Pass FLUTTER_TOOL_ARGS to snapshot command.#29938
jonahwilliams merged 12 commits intoflutter:masterfrom
jonahwilliams:enable_Test_asserts

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Mar 25, 2019

Description

Ensure that we can run app-jit snapshot flutter tool with asserts

Related Issues

Replace this paragraph with a list of issues related to this PR from our issue database. Indicate, which of these issues are resolved or fixed by this PR.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes tests for all changed/updated/fixed behaviors (See Test Coverage).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

@goderbauer goderbauer added the tool Affects the "flutter" command-line tool. See also t: labels. label Mar 25, 2019
@jonahwilliams
Copy link
Contributor Author

cc @Hixie

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

Does this make running these tests (a lot) slower?

bin/flutter.bat Outdated
POPD

"%dart%" --snapshot="%snapshot_path%" --snapshot-kind=app-jit --packages="%flutter_tools_dir%\.packages" "%script_path%"
IF "%FLUTTER_TOOL_ARGS%"=="" (
Copy link
Member

Choose a reason for hiding this comment

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

nit: spaces arround == if batch allows it.

@jonahwilliams
Copy link
Contributor Author

Yes :(

@jonahwilliams jonahwilliams merged commit 0a2175f into flutter:master Mar 27, 2019
@jonahwilliams jonahwilliams deleted the enable_Test_asserts branch March 27, 2019 22:24
Copy link
Contributor

@Hixie Hixie left a comment

Choose a reason for hiding this comment

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

thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants