Update dev/bots/test.dart (and friends) to provide --local-engine-host. (#132354)
Partial work towards https://github.com/flutter/flutter/issues/132245. As far as I can tell, this just plumbs flags downwards and has no semantic changes.
This commit is contained in:
@@ -213,7 +213,7 @@ String get shuffleSeed {
|
||||
///
|
||||
/// Examples:
|
||||
/// SHARD=tool_tests bin/cache/dart-sdk/bin/dart dev/bots/test.dart
|
||||
/// bin/cache/dart-sdk/bin/dart dev/bots/test.dart --local-engine=host_debug_unopt
|
||||
/// bin/cache/dart-sdk/bin/dart dev/bots/test.dart --local-engine=host_debug_unopt --local-engine-host=host_debug_unopt
|
||||
Future<void> main(List<String> args) async {
|
||||
try {
|
||||
printProgress('STARTING ANALYSIS');
|
||||
@@ -221,6 +221,9 @@ Future<void> main(List<String> args) async {
|
||||
if (arg.startsWith('--local-engine=')) {
|
||||
localEngineEnv['FLUTTER_LOCAL_ENGINE'] = arg.substring('--local-engine='.length);
|
||||
flutterTestArgs.add(arg);
|
||||
} else if (arg.startsWith('--local-engine-host=')) {
|
||||
localEngineEnv['FLUTTER_LOCAL_ENGINE_HOST'] = arg.substring('--local-engine-host='.length);
|
||||
flutterTestArgs.add(arg);
|
||||
} else if (arg.startsWith('--local-engine-src-path=')) {
|
||||
localEngineEnv['FLUTTER_LOCAL_ENGINE_SRC_PATH'] = arg.substring('--local-engine-src-path='.length);
|
||||
flutterTestArgs.add(arg);
|
||||
|
||||
Reference in New Issue
Block a user