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

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

Issue 8992015: Update test.dart to use the leg_only option for the leg component. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « tests/language/test_config.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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 } 660 }
661 661
662 static List<String> standardOptions(Map configuration) { 662 static List<String> standardOptions(Map configuration) {
663 List args = ["--ignore-unrecognized-flags"]; 663 List args = ["--ignore-unrecognized-flags"];
664 if (configuration["checked"]) { 664 if (configuration["checked"]) {
665 args.add('--enable_asserts'); 665 args.add('--enable_asserts');
666 args.add("--enable_type_checks"); 666 args.add("--enable_type_checks");
667 } 667 }
668 if (configuration["component"] == "leg") { 668 if (configuration["component"] == "leg") {
669 args.add("--enable_leg"); 669 args.add("--enable_leg");
670 args.add("--leg_only");
670 } 671 }
671 if (configuration["component"] == "dartc") { 672 if (configuration["component"] == "dartc") {
672 if (configuration["mode"] == "release") { 673 if (configuration["mode"] == "release") {
673 args.add("--optimize"); 674 args.add("--optimize");
674 } 675 }
675 } 676 }
676 return args; 677 return args;
677 } 678 }
678 } 679 }
679 680
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 * $noCrash tests are expected to be flaky but not crash 723 * $noCrash tests are expected to be flaky but not crash
723 * $pass tests are expected to pass 724 * $pass tests are expected to pass
724 * $failOk tests are expected to fail that we won't fix 725 * $failOk tests are expected to fail that we won't fix
725 * $fail tests are expected to fail that we should fix 726 * $fail tests are expected to fail that we should fix
726 * $crash tests are expected to crash that we should fix 727 * $crash tests are expected to crash that we should fix
727 * $timeout tests are allowed to timeout\ 728 * $timeout tests are allowed to timeout\
728 """; 729 """;
729 print(report); 730 print(report);
730 } 731 }
731 } 732 }
OLDNEW
« no previous file with comments | « tests/language/test_config.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698