| Index: tools/testing/dart/test_runner.dart
|
| diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
|
| index 4dac625af5d3353f7119fdcec258341eb4620836..678fd605a2cd11621ca838cbe3e9c207d2ac1c0a 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;
|
| }
|
|
|
|
|
|
|