Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: tools/testing/dart/test_suite.dart

Issue 2986513002: Pass shared options to dartdevc in test.dart. (Closed)
Patch Set: Merge branch 'master' into dartdevc-shared-options Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698