Index: tools/testing/dart/test_runner.dart |
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart |
index ffd99217056de79dd0b39826deadd5f05e9694d6..9a82e583ce3b4b2dfbcbeb3596f30fb45691295d 100644 |
--- a/tools/testing/dart/test_runner.dart |
+++ b/tools/testing/dart/test_runner.dart |
@@ -1679,7 +1679,8 @@ CommandOutput createCommandOutput(Command command, |
return new VmCommandOutputImpl( |
command, exitCode, timedOut, stdout, stderr, time, pid); |
} else if (command is CompilationCommand) { |
- if (command.displayName == 'precompiler.dart') { |
+ if (command.displayName == 'precompiler.dart' || |
+ command.displayName == 'dart2snapshot') { |
return new VmCommandOutputImpl( |
command, exitCode, timedOut, stdout, stderr, time, pid); |
} |