| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index 1ee3e1221d80d22003fb0e7669133fc13a802792..906731d5436dde8aa9c4e0f22395892ec9995e01 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -409,11 +409,11 @@ class StandardTestSuite implements TestSuite {
|
| htmlTest.closeSync();
|
|
|
| for (var vmOptions in optionsFromFile['vmOptions']) {
|
| - List<String> compilerArgs;
|
| + List<String> compilerArgs = TestUtils.standardOptions(configuration);
|
| String compilerExecutable = TestUtils.compilerPath(configuration);
|
| switch (component) {
|
| case 'chromium':
|
| - compilerArgs = ['--work', tempDir.path];
|
| + compilerArgs.addAll(['--work', tempDir.path]);
|
| if (configuration['mode'] == 'release') {
|
| compilerArgs.add('--optimize');
|
| }
|
| @@ -425,9 +425,9 @@ class StandardTestSuite implements TestSuite {
|
| // TODO(whesse): Add --fatal-type-errors if needed.
|
| break;
|
| case 'frogium':
|
| - compilerArgs = ['--libdir=$dartDir/frog/lib',
|
| - '--compile-only',
|
| - '--out=$compiledDartWrapperFilename'];
|
| + compilerArgs.addAll(['--libdir=$dartDir/frog/lib',
|
| + '--compile-only',
|
| + '--out=$compiledDartWrapperFilename']);
|
| compilerArgs.addAll(vmOptions);
|
| compilerArgs.add(dartWrapperFilename);
|
| break;
|
|
|