Chromium Code Reviews| Index: tools/testing/dart/test_suite.dart |
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
| index 0d35f7415e6421e579766f13ad4954c0461bf6e9..faad6f02be8accfa4c5da6fb20d3e95579f75118 100644 |
| --- a/tools/testing/dart/test_suite.dart |
| +++ b/tools/testing/dart/test_suite.dart |
| @@ -448,6 +448,9 @@ class StandardTestSuite implements TestSuite { |
| case 'dart2dart': |
| var compilerArguments = new List.from(args); |
| + var additionalFlags = configuration['additional-compiler-flags'] |
| + .split(const RegExp(' ')); |
|
ricow1
2012/08/27 09:43:14
can't we just split on ' ', instead of using a Reg
Anton Muhin
2012/08/27 09:45:37
Done.
|
| + compilerArguments.addAll(additionalFlags); |
| compilerArguments.add('--output-type=dart'); |
| String tempDir = createOutputDirectory(info.filePath, ''); |
| compilerArguments.add('--out=$tempDir/out.dart'); |