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

Unified Diff: dart/utils/tests/dartdoc/test_config.dart

Issue 9430046: Explicitly use node.js in the cases where it is needed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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 | « dart/tests/language/language-leg.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/utils/tests/dartdoc/test_config.dart
diff --git a/dart/utils/tests/dartdoc/test_config.dart b/dart/utils/tests/dartdoc/test_config.dart
index cfc35cc156057d971bbf76bafabd554a415c012c..26a33908abe013348fb3fa0ca86a6d04cc66f1ff 100644
--- a/dart/utils/tests/dartdoc/test_config.dart
+++ b/dart/utils/tests/dartdoc/test_config.dart
@@ -13,5 +13,14 @@ class DartdocTestSuite extends StandardTestSuite {
"utils/tests/dartdoc/src",
["utils/tests/dartdoc/dartdoc.status"]);
+ List<String> additionalOptions(String filename) {
+ if (configuration['component'].startsWith('frog')) {
+ return ['--js_cmd=node --crankshaft'];
+ } else {
+ return [];
+ }
+ }
+
+
bool isTestFile(String filename) => filename.endsWith("_tests.dart");
}
« no previous file with comments | « dart/tests/language/language-leg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698