| Index: tools/testing/dart/runtime_configuration.dart
|
| diff --git a/tools/testing/dart/runtime_configuration.dart b/tools/testing/dart/runtime_configuration.dart
|
| index 5a54d0b6aaf7a1ecaa4d89063a81841ecff79b71..d0b90f031a47e409f34b527ceaca7a55df16b1c1 100644
|
| --- a/tools/testing/dart/runtime_configuration.dart
|
| +++ b/tools/testing/dart/runtime_configuration.dart
|
| @@ -237,17 +237,9 @@ class StandaloneDartRuntimeConfiguration extends DartVmRuntimeConfiguration {
|
| throw "Dart VM cannot run files of type '$type'.";
|
| }
|
| String executable = suite.dartVmBinaryFileName;
|
| - var commands = new List<Command>();
|
| - commands.add(commandBuilder.getVmCommand(executable,
|
| - arguments,
|
| - environmentOverrides,
|
| - needsDFERunner: needsDFERunner));
|
| - if (type == 'application/dart-snapshot') {
|
| - // Delete snapshots as we go to reduce the space required to run the test
|
| - // suite.
|
| - commands.add(commandBuilder.getDeleteCommand(script));
|
| - }
|
| - return commands;
|
| + return <Command>[
|
| + commandBuilder.getVmCommand(executable, arguments, environmentOverrides, needsDFERunner: needsDFERunner)
|
| + ];
|
| }
|
| }
|
|
|
| @@ -290,13 +282,10 @@ class DartPrecompiledRuntimeConfiguration extends DartVmRuntimeConfiguration {
|
| throw "dart_precompiled cannot run files of type '$type'.";
|
| }
|
|
|
| - var commands = new List<Command>();
|
| - commands.add(commandBuilder.getVmCommand(suite.dartPrecompiledBinaryFileName,
|
| - arguments, environmentOverrides));
|
| - // Delete snapshots (dylibs or blobs) as we go to reduce the space required
|
| - // to run the test suite.
|
| - commands.add(commandBuilder.getDeleteCommand(script));
|
| - return commands;
|
| + return <Command>[
|
| + commandBuilder.getVmCommand(suite.dartPrecompiledBinaryFileName,
|
| + arguments, environmentOverrides)
|
| + ];
|
| }
|
| }
|
|
|
|
|