| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index ae57aee054d9dbf55021ff14d7d8b4dad141240f..2e97c0570c73a14d84f82e7ebd66973115a6043e 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -1469,7 +1469,6 @@ class StandardTestSuite extends TestSuite {
|
| packageRootArgument(optionsFromFile['packageRoot']);
|
| if (packageRoot != null) args.add(packageRoot);
|
| args.add('--out=$outputFile');
|
| - if (configuration['csp']) args.add('--csp');
|
| args.add(inputFile);
|
| List<String> options = optionsFromFile['sharedOptions'];
|
| if (options != null) args.addAll(options);
|
| @@ -2220,6 +2219,9 @@ class TestUtils {
|
| configuration["minified"]) {
|
| args.add("--minify");
|
| }
|
| + if (compiler == "dart2js" && configuration["csp"]) {
|
| + args.add("--csp");
|
| + }
|
| if (compiler == "dartanalyzer" || compiler == "dart2analyzer") {
|
| args.add("--show-package-warnings");
|
| args.add("--enable-async");
|
|
|