| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index ed354d2578df578f2987074726a26c16339381b9..7ace9d8c7a6fa45e9b3cc7726601d73848b836bf 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -240,6 +240,21 @@ abstract class TestSuite {
|
| return dartExecutable;
|
| }
|
|
|
| + String get dartVmProductBinaryFileName {
|
| + // Controlled by user with the option "--dart".
|
| + String dartExecutable = configuration['dart'];
|
| +
|
| + if (dartExecutable == '') {
|
| + String suffix = executableBinarySuffix;
|
| + dartExecutable = useSdk
|
| + ? '$buildDir/dart-sdk/bin/dart_product$suffix'
|
| + : '$buildDir/dart_product$suffix';
|
| + }
|
| +
|
| + TestUtils.ensureExists(dartExecutable, configuration);
|
| + return dartExecutable;
|
| + }
|
| +
|
| String get d8FileName {
|
| var suffix = getExecutableSuffix('d8');
|
| var d8Dir = TestUtils.dartDir.append('third_party/d8');
|
|
|