| Index: tools/testing/dart/test_runner.dart
|
| diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
|
| index f94515d00fdf702d342f0cf41cd70b595d96084d..f1ccc3061e62b165853f62618455b5d74199c9df 100644
|
| --- a/tools/testing/dart/test_runner.dart
|
| +++ b/tools/testing/dart/test_runner.dart
|
| @@ -44,7 +44,11 @@ String getExecutableName(Map configuration) {
|
|
|
|
|
| String getDartShellFileName(Map configuration) {
|
| - return getBuildDir(configuration) + getExecutableName(configuration);
|
| + var name = getBuildDir(configuration) + getExecutableName(configuration);
|
| + if (!(new File(name)).existsSync()) {
|
| + throw "Executable '$name' does not exist";
|
| + }
|
| + return name;
|
| }
|
|
|
|
|
|
|