Technical Debt tracker (#7667)

This commit is contained in:
Ian Hickson
2017-01-26 17:04:37 -08:00
committed by GitHub
parent 576b4e1179
commit aff4e82891
7 changed files with 189 additions and 50 deletions

View File

@@ -47,9 +47,14 @@ TaskFunction createMicrobenchmarkTask() {
};
}
Future<Process> _startFlutter({String command = 'run', List<String> options: const <String>[], bool canFail: false, Map<String, String> env}) {
Future<Process> _startFlutter({
String command = 'run',
List<String> options: const <String>[],
bool canFail: false,
Map<String, String> environment,
}) {
List<String> args = <String>['run']..addAll(options);
return startProcess(path.join(flutterDirectory.path, 'bin', 'flutter'), args, env: env);
return startProcess(path.join(flutterDirectory.path, 'bin', 'flutter'), args, environment: environment);
}
Future<Map<String, double>> _readJsonResults(Process process) {

View File

@@ -255,7 +255,7 @@ class MemoryTest {
'-d',
deviceId,
'--use-existing-app',
], env: <String, String> {
], environment: <String, String> {
'VM_SERVICE_URL': 'http://localhost:$debugPort'
});