| OLD | NEW |
| 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_suite"); | 5 #library("test_suite"); |
| 6 | 6 |
| 7 #import("dart:io"); | 7 #import("dart:io"); |
| 8 #import("status_file_parser.dart"); | 8 #import("status_file_parser.dart"); |
| 9 #import("test_runner.dart"); | 9 #import("test_runner.dart"); |
| 10 #import("multitest.dart"); | 10 #import("multitest.dart"); |
| (...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 } | 940 } |
| 941 | 941 |
| 942 static String compilerName(Map configuration) { | 942 static String compilerName(Map configuration) { |
| 943 String suffix = executableSuffix(configuration['component']); | 943 String suffix = executableSuffix(configuration['component']); |
| 944 switch (configuration['component']) { | 944 switch (configuration['component']) { |
| 945 case 'chromium': | 945 case 'chromium': |
| 946 case 'dartc': | 946 case 'dartc': |
| 947 return 'compiler/bin/dartc$suffix'; | 947 return 'compiler/bin/dartc$suffix'; |
| 948 case 'frogium': | 948 case 'frogium': |
| 949 case 'webdriver': | 949 case 'webdriver': |
| 950 return 'frog/bin/frogsh$suffix'; | 950 return 'frog/bin/frog$suffix'; |
| 951 default: | 951 default: |
| 952 throw "Unknown compiler for: ${configuration['component']}"; | 952 throw "Unknown compiler for: ${configuration['component']}"; |
| 953 } | 953 } |
| 954 } | 954 } |
| 955 | 955 |
| 956 static String dartShellFileName(Map configuration) { | 956 static String dartShellFileName(Map configuration) { |
| 957 var name = '${buildDir(configuration)}/${executableName(configuration)}'; | 957 var name = '${buildDir(configuration)}/${executableName(configuration)}'; |
| 958 if (!(new File(name)).existsSync() && !configuration['list']) { | 958 if (!(new File(name)).existsSync() && !configuration['list']) { |
| 959 throw "Executable '$name' does not exist"; | 959 throw "Executable '$name' does not exist"; |
| 960 } | 960 } |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 * $noCrash tests are expected to be flaky but not crash | 1063 * $noCrash tests are expected to be flaky but not crash |
| 1064 * $pass tests are expected to pass | 1064 * $pass tests are expected to pass |
| 1065 * $failOk tests are expected to fail that we won't fix | 1065 * $failOk tests are expected to fail that we won't fix |
| 1066 * $fail tests are expected to fail that we should fix | 1066 * $fail tests are expected to fail that we should fix |
| 1067 * $crash tests are expected to crash that we should fix | 1067 * $crash tests are expected to crash that we should fix |
| 1068 * $timeout tests are allowed to timeout | 1068 * $timeout tests are allowed to timeout |
| 1069 """; | 1069 """; |
| 1070 print(report); | 1070 print(report); |
| 1071 } | 1071 } |
| 1072 } | 1072 } |
| OLD | NEW |