| Index: dart/tools/testing/dart/test_suite.dart
|
| diff --git a/dart/tools/testing/dart/test_suite.dart b/dart/tools/testing/dart/test_suite.dart
|
| index 0b0ac483f115b7131398805fa24768f9b275a7bf..1c213725856bc7ed31af326576c323c6327b7eed 100644
|
| --- a/dart/tools/testing/dart/test_suite.dart
|
| +++ b/dart/tools/testing/dart/test_suite.dart
|
| @@ -1233,10 +1233,14 @@ class TestUtils {
|
| case 'dartc':
|
| return 'compiler/bin/dartc$suffix';
|
| case 'dart2js':
|
| + var prefix = '';
|
| + if (configuration['use_sdk']) {
|
| + prefix = 'dart-sdk/bin/';
|
| + }
|
| if (configuration['host_checked']) {
|
| - return 'dart2js_developer$suffix';
|
| + return '${prefix}dart2js_developer$suffix';
|
| } else {
|
| - return 'dart2js$suffix';
|
| + return '${prefix}dart2js$suffix';
|
| }
|
| case 'frog':
|
| return 'frog/bin/frog$suffix';
|
| @@ -1251,11 +1255,7 @@ class TestUtils {
|
| case 'dartc':
|
| return 'compiler/bin/dartc$suffix';
|
| case 'dart2js':
|
| - if (configuration['host_checked']) {
|
| - return 'dart2js_developer$suffix';
|
| - } else {
|
| - return 'dart2js$suffix';
|
| - }
|
| + return executableName(configuration);
|
| case 'frog':
|
| return 'frog/bin/frog$suffix';
|
| default:
|
|
|