| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index b206efe6cf9860e9bb0ce9cd40f175e7c317c76b..9063fe543055c0dff3bf68ffc33a58978aec5c54 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -472,6 +472,9 @@ class StandardTestSuite implements TestSuite {
|
| return <Command>[new Command(shellPath(), arguments)];
|
|
|
| case 'dartc':
|
| + for (var vmOption in vmOptions) {
|
| + args.add(vmOption);
|
| + }
|
| return <Command>[new Command(shellPath(), args)];
|
|
|
| default:
|
| @@ -1037,8 +1040,8 @@ class StandardTestSuite implements TestSuite {
|
|
|
| List<List<String>> getVmOptions(Map optionsFromFile) {
|
| bool needsVmOptions =
|
| - Contains(configuration['compiler'], const ['none', 'dart2dart']) &&
|
| - Contains(configuration['runtime'], const ['vm', 'drt', 'dartium']);
|
| + Contains(configuration['compiler'], const ['none', 'dart2dart', 'dartc']) &&
|
| + Contains(configuration['runtime'], const ['none', 'vm', 'drt', 'dartium']);
|
| if (!needsVmOptions) return [[]];
|
| return optionsFromFile['vmOptions'];
|
| }
|
|
|