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

Side by Side Diff: tools/testing/dart/test_suite.dart

Issue 2688413004: Add mode to test.dart to run dart2js with kernel, and include initial set of (Closed)
Patch Set: Update status files Created 3 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
« no previous file with comments | « tools/testing/dart/test_options.dart ('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 /** 5 /**
6 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
(...skipping 2211 matching lines...) Expand 10 before | Expand all | Expand 10 after
2222 } 2222 }
2223 if (compiler == "dart2js" && configuration["csp"]) { 2223 if (compiler == "dart2js" && configuration["csp"]) {
2224 args.add("--csp"); 2224 args.add("--csp");
2225 } 2225 }
2226 if (compiler == "dart2js" && configuration["cps_ir"]) { 2226 if (compiler == "dart2js" && configuration["cps_ir"]) {
2227 args.add("--use-cps-ir"); 2227 args.add("--use-cps-ir");
2228 } 2228 }
2229 if (compiler == "dart2js" && configuration["fast_startup"]) { 2229 if (compiler == "dart2js" && configuration["fast_startup"]) {
2230 args.add("--fast-startup"); 2230 args.add("--fast-startup");
2231 } 2231 }
2232 if (compiler == "dart2js" && configuration["dart2js_with_kernel"]) {
2233 args.add("--use-kernel");
2234 }
2232 if (compiler == "dart2analyzer") { 2235 if (compiler == "dart2analyzer") {
2233 args.add("--show-package-warnings"); 2236 args.add("--show-package-warnings");
2234 args.add("--enable-async"); 2237 args.add("--enable-async");
2235 } 2238 }
2236 return args; 2239 return args;
2237 } 2240 }
2238 2241
2239 static bool isBrowserRuntime(String runtime) { 2242 static bool isBrowserRuntime(String runtime) {
2240 const BROWSERS = const [ 2243 const BROWSERS = const [
2241 'drt', 2244 'drt',
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2422 } 2425 }
2423 if (path.length > WINDOWS_SHORTEN_PATH_LIMIT) { 2426 if (path.length > WINDOWS_SHORTEN_PATH_LIMIT) {
2424 ++shortNameCounter; 2427 ++shortNameCounter;
2425 var pathEnd = path.substring(path.length - WINDOWS_PATH_END_LENGTH); 2428 var pathEnd = path.substring(path.length - WINDOWS_PATH_END_LENGTH);
2426 path = "short${shortNameCounter}_$pathEnd"; 2429 path = "short${shortNameCounter}_$pathEnd";
2427 } 2430 }
2428 } 2431 }
2429 return path; 2432 return path;
2430 } 2433 }
2431 } 2434 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698