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

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

Issue 1949423003: Include DBC in the "all" architecture. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 "drt_updater.dart"; 8 import "drt_updater.dart";
9 import "test_suite.dart"; 9 import "test_suite.dart";
10 import "path.dart"; 10 import "path.dart";
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 return isValid; 686 return isValid;
687 } 687 }
688 688
689 /** 689 /**
690 * Recursively expand a configuration with multiple values per key 690 * Recursively expand a configuration with multiple values per key
691 * into a list of configurations with exactly one value per key. 691 * into a list of configurations with exactly one value per key.
692 */ 692 */
693 List<Map> _expandConfigurations(Map configuration) { 693 List<Map> _expandConfigurations(Map configuration) {
694 // Expand the pseudo-values such as 'all'. 694 // Expand the pseudo-values such as 'all'.
695 if (configuration['arch'] == 'all') { 695 if (configuration['arch'] == 'all') {
696 configuration['arch'] = 'ia32,x64,simarm,simarm64,simmips'; 696 configuration['arch'] = 'ia32,x64,simarm,simarm64,simmips,simdbc';
697 } 697 }
698 if (configuration['mode'] == 'all') { 698 if (configuration['mode'] == 'all') {
699 configuration['mode'] = 'debug,release,product'; 699 configuration['mode'] = 'debug,release,product';
700 } 700 }
701 701
702 if (configuration['report_in_json']) { 702 if (configuration['report_in_json']) {
703 configuration['list'] = true; 703 configuration['list'] = true;
704 configuration['report'] = true; 704 configuration['report'] = true;
705 } 705 }
706 706
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 if (option.keys.contains(name)) { 894 if (option.keys.contains(name)) {
895 return option; 895 return option;
896 } 896 }
897 } 897 }
898 print('Unknown test option $name'); 898 print('Unknown test option $name');
899 exit(1); 899 exit(1);
900 } 900 }
901 901
902 List<_TestOptionSpecification> _options; 902 List<_TestOptionSpecification> _options;
903 } 903 }
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