Index: tools/testing/dart/test_suite.dart |
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
index 2e95a664bd2377dd58211a27d0d1bb1d808ad1a8..04cc079469ea6f6d0ff2cc947988f257a40d81e7 100644 |
--- a/tools/testing/dart/test_suite.dart |
+++ b/tools/testing/dart/test_suite.dart |
@@ -1109,7 +1109,8 @@ class StandardTestSuite extends TestSuite { |
var toPath = new Path('$compilationTempDir/$nameNoExt.js') |
.toNativePath(); |
commands.add(configuration.compilerConfiguration.createCommand( |
- dartWrapperFilename, toPath)); |
+ dartWrapperFilename, toPath, |
+ optionsFromFile["sharedOptions"] as List<String>)); |
break; |
case Compiler.none: |
@@ -1133,7 +1134,8 @@ class StandardTestSuite extends TestSuite { |
case Compiler.dartdevc: |
commands.add(configuration.compilerConfiguration.createCommand( |
- fromPath.toNativePath(), toPath)); |
+ fromPath.toNativePath(), toPath, |
+ optionsFromFile["sharedOptions"] as List<String>)); |
break; |
default: |