| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |