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

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

Issue 8597016: - Remove uses of the dart_bin binary. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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 | « tools/testing/dart/test_options.dart ('k') | tools/utils.py » ('j') | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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("test_suite"); 5 #library("test_suite");
6 6
7 #import("status_file_parser.dart"); 7 #import("status_file_parser.dart");
8 #import("test_runner.dart"); 8 #import("test_runner.dart");
9 9
10 interface TestSuite { 10 interface TestSuite {
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 "dartOptions": dartOptions, 276 "dartOptions": dartOptions,
277 "isNegative" : isNegative }; 277 "isNegative" : isNegative };
278 } 278 }
279 } 279 }
280 280
281 281
282 class TestUtils { 282 class TestUtils {
283 static String executableName(Map configuration) { 283 static String executableName(Map configuration) {
284 switch (configuration['component']) { 284 switch (configuration['component']) {
285 case 'vm': 285 case 'vm':
286 return 'dart_bin'; 286 return 'dart';
287 case 'dartc': 287 case 'dartc':
288 return 'compiler/bin/dartc_test'; 288 return 'compiler/bin/dartc_test';
289 case 'frog': 289 case 'frog':
290 case 'leg': 290 case 'leg':
291 return 'frog/bin/frog'; 291 return 'frog/bin/frog';
292 case 'frogsh': 292 case 'frogsh':
293 return 'frog/bin/frogsh'; 293 return 'frog/bin/frogsh';
294 default: 294 default:
295 throw "Unknown executable for: ${configuration['component']}"; 295 throw "Unknown executable for: ${configuration['component']}";
296 } 296 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 args.add("--enable_leg"); 328 args.add("--enable_leg");
329 } 329 }
330 if (configuration["component"] == "dartc") { 330 if (configuration["component"] == "dartc") {
331 if (configuration["mode"] == "release") { 331 if (configuration["mode"] == "release") {
332 args.add("--optimize"); 332 args.add("--optimize");
333 } 333 }
334 } 334 }
335 return args; 335 return args;
336 } 336 }
337 } 337 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | tools/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698