Update dev/devicelab/** to provide --local-engine-host. (#132342)
Partial work towards https://github.com/flutter/flutter/issues/132245. I have to admit I don't totally understand what I've updated, or whether there are more integration points needed.
This commit is contained in:
@@ -9,7 +9,7 @@ import 'common.dart';
|
||||
|
||||
void main() {
|
||||
test('ABTest', () {
|
||||
final ABTest ab = ABTest('engine', 'test');
|
||||
final ABTest ab = ABTest(localEngine: 'engine', localEngineHost: 'engine', taskName: 'test');
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
final TaskResult aResult = TaskResult.fromJson(<String, dynamic>{
|
||||
|
||||
@@ -96,7 +96,7 @@ void main() {
|
||||
|
||||
final ProcessResult result = await runScript(
|
||||
<String>['smoke_test_success'],
|
||||
<String>['--ab=2', '--local-engine=host_debug_unopt', '--ab-result-file', abResultsFile.path],
|
||||
<String>['--ab=2', '--local-engine=host_debug_unopt', '--local-engine-host=host_debug_unopt', '--ab-result-file', abResultsFile.path],
|
||||
);
|
||||
expect(result.exitCode, 0);
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ void main() {
|
||||
group('engine environment declarations', () {
|
||||
test('localEngine', () {
|
||||
expect(localEngineFromEnv, null);
|
||||
expect(localEngineHostFromEnv, null);
|
||||
expect(localEngineSrcPathFromEnv, null);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user