Run dev/bots/test's flutter drive test in preview-dart-2 (#15090)

* Run dev/bots/test's flutter drive test in preview-dart-2

* Fix extension callback type

* More type fixes
This commit is contained in:
Alexander Aprelev
2018-03-05 08:55:10 -08:00
committed by GitHub
parent c885015934
commit 70f60b17d7
2 changed files with 26 additions and 23 deletions

View File

@@ -177,7 +177,10 @@ Future<Null> _runTests({List<String> options: const <String>[]}) async {
expectFailure: true,
printOutput: false,
);
await _runCommand(flutter, <String>['drive', '--use-existing-app', '-t', path.join('test_driver', 'failure.dart')],
await _runCommand(flutter,
<String>['drive', '--use-existing-app']
..addAll(options)
..addAll(<String>[ '-t', path.join('test_driver', 'failure.dart')]),
workingDirectory: path.join(flutterRoot, 'packages', 'flutter_driver'),
expectFailure: true,
printOutput: false,