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

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

Issue 8835008: Correctly handle the --arch argument to dart test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo Created 9 years 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_runner.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) 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 #import("multitest.dart"); 9 #import("multitest.dart");
10 10
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 469
470 static String buildDir(Map configuration) { 470 static String buildDir(Map configuration) {
471 var buildDir = ''; 471 var buildDir = '';
472 var system = configuration['system']; 472 var system = configuration['system'];
473 if (system == 'linux') { 473 if (system == 'linux') {
474 buildDir = 'out/'; 474 buildDir = 'out/';
475 } else if (system == 'macos') { 475 } else if (system == 'macos') {
476 buildDir = 'xcodebuild/'; 476 buildDir = 'xcodebuild/';
477 } 477 }
478 buildDir += (configuration['mode'] == 'debug') ? 'Debug_' : 'Release_'; 478 buildDir += (configuration['mode'] == 'debug') ? 'Debug_' : 'Release_';
479 buildDir += configuration['architecture'] + '/'; 479 buildDir += configuration['arch'] + '/';
480 return buildDir; 480 return buildDir;
481 } 481 }
482 482
483 static List<String> standardOptions(Map configuration) { 483 static List<String> standardOptions(Map configuration) {
484 List args = ["--ignore-unrecognized-flags"]; 484 List args = ["--ignore-unrecognized-flags"];
485 if (configuration["checked"]) { 485 if (configuration["checked"]) {
486 args.add('--enable_asserts'); 486 args.add('--enable_asserts');
487 args.add("--enable_type_checks"); 487 args.add("--enable_type_checks");
488 } 488 }
489 if (configuration["component"] == "leg") { 489 if (configuration["component"] == "leg") {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 * $noCrash tests are expected to be flaky but not crash 543 * $noCrash tests are expected to be flaky but not crash
544 * $pass tests are expected to pass 544 * $pass tests are expected to pass
545 * $failOk tests are expected to fail that we won't fix 545 * $failOk tests are expected to fail that we won't fix
546 * $fail tests are expected to fail that we should fix 546 * $fail tests are expected to fail that we should fix
547 * $crash tests are expected to crash that we should fix 547 * $crash tests are expected to crash that we should fix
548 * $timeout tests are allowed to timeout\ 548 * $timeout tests are allowed to timeout\
549 """; 549 """;
550 print(report); 550 print(report);
551 } 551 }
552 } 552 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_runner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698