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

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

Issue 847393002: Enable co19 dart2js browser tests on content shell (drt) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add new drt suppressions Created 5 years, 11 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 | « tests/language/language_dart2js.status ('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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 validRuntimes = const ['vm', 'drt', 'dartium', 647 validRuntimes = const ['vm', 'drt', 'dartium',
648 'ContentShellOnAndroid', 'DartiumOnAndroid']; 648 'ContentShellOnAndroid', 'DartiumOnAndroid'];
649 break; 649 break;
650 } 650 }
651 if (!validRuntimes.contains(config['runtime'])) { 651 if (!validRuntimes.contains(config['runtime'])) {
652 isValid = false; 652 isValid = false;
653 print("Warning: combination of compiler '${config['compiler']}' and " 653 print("Warning: combination of compiler '${config['compiler']}' and "
654 "runtime '${config['runtime']}' is invalid. " 654 "runtime '${config['runtime']}' is invalid. "
655 "Skipping this combination."); 655 "Skipping this combination.");
656 } 656 }
657 if ((config['runtime'] == 'ie9' || config['runtime'] == 'ie10') && 657 if (config['ie'] && Platform.operatingSystem != 'windows') {
658 Platform.operatingSystem != 'windows') {
659 isValid = false; 658 isValid = false;
660 print("Warning cannot run Internet Explorer on non-Windows operating" 659 print("Warning cannot run Internet Explorer on non-Windows operating"
661 " system."); 660 " system.");
662 } 661 }
663 if (config['shard'] < 1 || config['shard'] > config['shards']) { 662 if (config['shard'] < 1 || config['shard'] > config['shards']) {
664 isValid = false; 663 isValid = false;
665 print("Error: shard index is ${config['shard']} out of " 664 print("Error: shard index is ${config['shard']} out of "
666 "${config['shards']} shards"); 665 "${config['shards']} shards");
667 } 666 }
668 667
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 return option; 889 return option;
891 } 890 }
892 } 891 }
893 print('Unknown test option $name'); 892 print('Unknown test option $name');
894 exit(1); 893 exit(1);
895 } 894 }
896 895
897 896
898 List<_TestOptionSpecification> _options; 897 List<_TestOptionSpecification> _options;
899 } 898 }
OLDNEW
« no previous file with comments | « tests/language/language_dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698