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

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

Issue 2284793002: Pass the flag in test_suite. I'm not super familiar with this code, but I'm (Closed)
Patch Set: Created 4 years, 3 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/compiler_configuration.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 2262 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 } 2273 }
2274 if ((compiler == "dart2js") && configuration["minified"]) { 2274 if ((compiler == "dart2js") && configuration["minified"]) {
2275 args.add("--minify"); 2275 args.add("--minify");
2276 } 2276 }
2277 if (compiler == "dart2js" && configuration["csp"]) { 2277 if (compiler == "dart2js" && configuration["csp"]) {
2278 args.add("--csp"); 2278 args.add("--csp");
2279 } 2279 }
2280 if (compiler == "dart2js" && configuration["cps_ir"]) { 2280 if (compiler == "dart2js" && configuration["cps_ir"]) {
2281 args.add("--use-cps-ir"); 2281 args.add("--use-cps-ir");
2282 } 2282 }
2283 if (compiler == "dart2js" && configuration["fast_startup"]) {
2284 args.add("--fast-startup");
2285 }
2283 if (compiler == "dart2analyzer") { 2286 if (compiler == "dart2analyzer") {
2284 args.add("--show-package-warnings"); 2287 args.add("--show-package-warnings");
2285 args.add("--enable-async"); 2288 args.add("--enable-async");
2286 } 2289 }
2287 return args; 2290 return args;
2288 } 2291 }
2289 2292
2290 static bool isBrowserRuntime(String runtime) { 2293 static bool isBrowserRuntime(String runtime) {
2291 const BROWSERS = const [ 2294 const BROWSERS = const [
2292 'drt', 2295 'drt',
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
2472 } 2475 }
2473 if (path.length > WINDOWS_SHORTEN_PATH_LIMIT) { 2476 if (path.length > WINDOWS_SHORTEN_PATH_LIMIT) {
2474 ++shortNameCounter; 2477 ++shortNameCounter;
2475 var pathEnd = path.substring(path.length - WINDOWS_PATH_END_LENGTH); 2478 var pathEnd = path.substring(path.length - WINDOWS_PATH_END_LENGTH);
2476 path = "short${shortNameCounter}_$pathEnd"; 2479 path = "short${shortNameCounter}_$pathEnd";
2477 } 2480 }
2478 } 2481 }
2479 return path; 2482 return path;
2480 } 2483 }
2481 } 2484 }
OLDNEW
« 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