Skip to content

Pass FLUTTER_TOOL_ARGS to snapshot command. - #29938

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

jonahwilliams merged 12 commits into
flutter:masterfrom
jonahwilliams:enable_Test_asserts

Conversation

@jonahwilliams

@jonahwilliams jonahwilliams commented Mar 25, 2019 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

cc @Hixie

@goderbauer goderbauer left a comment

Copy link
Copy Markdown
Member

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?

Comment thread 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
Copy Markdown
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
Copy Markdown
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

@Hixie Hixie left a comment

Copy link
Copy Markdown
Contributor

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