| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index 0fed8954da4d5ed6addb1aab934cdc41e6ae1286..bd8d4bdc156efad1097379c35a3557b9bdcc0a50 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -450,7 +450,10 @@ class StandardTestSuite implements TestSuite {
|
| var compilerArguments = new List.from(args);
|
| var additionalFlags =
|
| configuration['additional-compiler-flags'].split(' ');
|
| - compilerArguments.addAll(additionalFlags);
|
| + for (final flag in additionalFlags) {
|
| + if (flag.isEmpty()) continue;
|
| + compilerArguments.add(flag);
|
| + }
|
| compilerArguments.add('--output-type=dart');
|
| String tempDir = createOutputDirectory(info.filePath, '');
|
| compilerArguments.add('--out=$tempDir/out.dart');
|
|
|