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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/tests/language/language-leg.status ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library("dartdoc_test_config"); 5 #library("dartdoc_test_config");
6 6
7 #import("../../../tools/testing/dart/test_suite.dart"); 7 #import("../../../tools/testing/dart/test_suite.dart");
8 8
9 class DartdocTestSuite extends StandardTestSuite { 9 class DartdocTestSuite extends StandardTestSuite {
10 DartdocTestSuite(Map configuration) 10 DartdocTestSuite(Map configuration)
11 : super(configuration, 11 : super(configuration,
12 "dartdoc", 12 "dartdoc",
13 "utils/tests/dartdoc/src", 13 "utils/tests/dartdoc/src",
14 ["utils/tests/dartdoc/dartdoc.status"]); 14 ["utils/tests/dartdoc/dartdoc.status"]);
15 15
16 List<String> additionalOptions(String filename) {
17 if (configuration['component'].startsWith('frog')) {
18 return ['--js_cmd=node --crankshaft'];
19 } else {
20 return [];
21 }
22 }
23
24
16 bool isTestFile(String filename) => filename.endsWith("_tests.dart"); 25 bool isTestFile(String filename) => filename.endsWith("_tests.dart");
17 } 26 }
OLDNEW
« 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