-
Notifications
You must be signed in to change notification settings - Fork 6k
Add docs for magic variables. #43121
Conversation
Adds documentation for env variable substitution in test execution. Bug: flutter/flutter#129280
| the test). Magic environment variables have the following limitations: | ||
| only `${FLUTTER_LOGS_DIR}` is currently supported and it needs to be used | ||
| alone within the parameter string(e.g. `["${FLUTTER_LOGS_DIR}"]` is OK | ||
| but `["path=${FLUTTER_LOGS_DIR}"]` is not). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious about the reason for this restriction. Could you point me at the implementation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The restriction is not technical, it was just to simplify the initial implementation. https://cs.opensource.google/flutter/recipes/+/main:recipes/engine_v2/builder.py;l=101
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kk. Is there an issue filed to follow-up on that? Looping over the keys and doing a find/replace seems like a small, easy improvement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created a tracking bug: flutter/flutter#129469
ricardoamador
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
flutter/engine@5e6dcf9...240a86f 2023-06-24 godofredoc@google.com Add docs for magic variables. (flutter/engine#43121) 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 jsimmons@google.com,rmistry@google.com,zra@google.com 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Adds documentation for env variable substitution in test execution.
Bug: flutter/flutter#129280
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.