Unverified Commit cd84ceaf authored by Alexander Markov's avatar Alexander Markov Committed by GitHub

Pass local engine in flutter_test_performance benchmark (#40193)

parent 925a52fa
......@@ -38,13 +38,10 @@ enum TestStep {
Future<int> runTest({bool coverage = false}) async {
final Stopwatch clock = Stopwatch()..start();
final List<String> arguments = <String>[
'test',
];
if (coverage) {
arguments.add('--coverage');
}
arguments.add(path.join('flutter_test', 'trivial_widget_test.dart'));
final List<String> arguments = flutterCommandArgs('test', <String>[
if (coverage) '--coverage',
path.join('flutter_test', 'trivial_widget_test.dart'),
]);
final Process analysis = await startProcess(
path.join(flutterDirectory.path, 'bin', 'flutter'),
arguments,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment