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

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

Issue 12690002: - Add simarm and simmips to --arch=all for builds and tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 | « tools/build.py ('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 test_options_parser; 5 library test_options_parser;
6 6
7 import "dart:io"; 7 import "dart:io";
8 import "dart:math"; 8 import "dart:math";
9 import "drt_updater.dart"; 9 import "drt_updater.dart";
10 import "test_suite.dart"; 10 import "test_suite.dart";
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 return isValid; 467 return isValid;
468 } 468 }
469 469
470 /** 470 /**
471 * Recursively expand a configuration with multiple values per key 471 * Recursively expand a configuration with multiple values per key
472 * into a list of configurations with exactly one value per key. 472 * into a list of configurations with exactly one value per key.
473 */ 473 */
474 List<Map> _expandConfigurations(Map configuration) { 474 List<Map> _expandConfigurations(Map configuration) {
475 // Expand the pseudo-values such as 'all'. 475 // Expand the pseudo-values such as 'all'.
476 if (configuration['arch'] == 'all') { 476 if (configuration['arch'] == 'all') {
477 configuration['arch'] = 'ia32,x64'; 477 configuration['arch'] = 'ia32,x64,simarm,simmips';
478 } 478 }
479 if (configuration['mode'] == 'all') { 479 if (configuration['mode'] == 'all') {
480 configuration['mode'] = 'debug,release'; 480 configuration['mode'] = 'debug,release';
481 } 481 }
482 if (configuration['valgrind']) { 482 if (configuration['valgrind']) {
483 // TODO(ager): Get rid of this when there is only one checkout and 483 // TODO(ager): Get rid of this when there is only one checkout and
484 // we don't have to special case for the runtime checkout. 484 // we don't have to special case for the runtime checkout.
485 File valgrindFile = new File('runtime/tools/valgrind.py'); 485 File valgrindFile = new File('runtime/tools/valgrind.py');
486 if (!valgrindFile.existsSync()) { 486 if (!valgrindFile.existsSync()) {
487 valgrindFile = new File('../runtime/tools/valgrind.py'); 487 valgrindFile = new File('../runtime/tools/valgrind.py');
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 return option; 684 return option;
685 } 685 }
686 } 686 }
687 print('Unknown test option $name'); 687 print('Unknown test option $name');
688 exit(1); 688 exit(1);
689 } 689 }
690 690
691 691
692 List<_TestOptionSpecification> _options; 692 List<_TestOptionSpecification> _options;
693 } 693 }
OLDNEW
« no previous file with comments | « tools/build.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698