| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index b29c3f0130e55a515e1cd325aae668d5470c4bdf..b7aaedb621afa36b6ded49dceb6c3d7bfeec747d 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -1551,17 +1551,8 @@ class StandardTestSuite extends TestSuite {
|
| List<String> dartOptions = optionsFromFile["dartOptions"];
|
|
|
| assert(!isMultitest || dartOptions == null);
|
| - if (dartOptions == null) {
|
| - args.add(filePath.toNativePath());
|
| - } else {
|
| - var executable_name = dartOptions[0];
|
| - // TODO(ager): Get rid of this hack when the runtime checkout goes away.
|
| - var file = new File(executable_name);
|
| - if (!file.existsSync()) {
|
| - executable_name = '../$executable_name';
|
| - assert(new File(executable_name).existsSync());
|
| - dartOptions[0] = executable_name;
|
| - }
|
| + args.add(filePath.toNativePath());
|
| + if (dartOptions != null) {
|
| args.addAll(dartOptions);
|
| }
|
|
|
|
|