| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 processDirectory(); | 187 processDirectory(); |
| 188 } else { | 188 } else { |
| 189 // We rely on enqueueing completing asynchronously so use a | 189 // We rely on enqueueing completing asynchronously so use a |
| 190 // timer to make it so. | 190 // timer to make it so. |
| 191 void enqueueCachedTests(Timer ignore) { | 191 void enqueueCachedTests(Timer ignore) { |
| 192 for (var info in testCache[suiteName]) { | 192 for (var info in testCache[suiteName]) { |
| 193 enqueueTestCaseFromTestInformation(info); | 193 enqueueTestCaseFromTestInformation(info); |
| 194 } | 194 } |
| 195 doDone(); | 195 doDone(); |
| 196 } | 196 } |
| 197 new Timer(enqueueCachedTests, 0, false); | 197 new Timer(enqueueCachedTests, 0); |
| 198 } | 198 } |
| 199 } | 199 } |
| 200 } | 200 } |
| 201 | 201 |
| 202 // Read test expectations from status files. | 202 // Read test expectations from status files. |
| 203 testExpectations = | 203 testExpectations = |
| 204 new TestExpectations(complexMatching: complexStatusMatching()); | 204 new TestExpectations(complexMatching: complexStatusMatching()); |
| 205 for (var statusFilePath in statusFilePaths) { | 205 for (var statusFilePath in statusFilePaths) { |
| 206 ReadTestExpectationsInto(testExpectations, | 206 ReadTestExpectationsInto(testExpectations, |
| 207 statusFilePath, | 207 statusFilePath, |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 * $noCrash tests are expected to be flaky but not crash | 722 * $noCrash tests are expected to be flaky but not crash |
| 723 * $pass tests are expected to pass | 723 * $pass tests are expected to pass |
| 724 * $failOk tests are expected to fail that we won't fix | 724 * $failOk tests are expected to fail that we won't fix |
| 725 * $fail tests are expected to fail that we should fix | 725 * $fail tests are expected to fail that we should fix |
| 726 * $crash tests are expected to crash that we should fix | 726 * $crash tests are expected to crash that we should fix |
| 727 * $timeout tests are allowed to timeout\ | 727 * $timeout tests are allowed to timeout\ |
| 728 """; | 728 """; |
| 729 print(report); | 729 print(report); |
| 730 } | 730 } |
| 731 } | 731 } |
| OLD | NEW |