| 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("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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 return null; | 579 return null; |
| 580 } | 580 } |
| 581 } | 581 } |
| 582 | 582 |
| 583 String getHtmlName(String filename) { | 583 String getHtmlName(String filename) { |
| 584 return filename.replaceAll('/', '_').replaceAll(':', '_') | 584 return filename.replaceAll('/', '_').replaceAll(':', '_') |
| 585 + configuration['component'] + '.html'; | 585 + configuration['component'] + '.html'; |
| 586 } | 586 } |
| 587 | 587 |
| 588 String get dumpRenderTreeFilename() { | 588 String get dumpRenderTreeFilename() { |
| 589 if (configuration['drt'] != '') { |
| 590 return configuration['drt']; |
| 591 } |
| 589 if (new Platform().operatingSystem() == 'macos') { | 592 if (new Platform().operatingSystem() == 'macos') { |
| 590 return 'client/tests/drt/DumpRenderTree.app/Contents/' + | 593 return 'client/tests/drt/DumpRenderTree.app/Contents/' + |
| 591 'MacOS/DumpRenderTree'; | 594 'MacOS/DumpRenderTree'; |
| 592 } | 595 } |
| 593 return 'client/tests/drt/DumpRenderTree'; | 596 return 'client/tests/drt/DumpRenderTree'; |
| 594 } | 597 } |
| 595 | 598 |
| 596 void testGeneratorStarted() { | 599 void testGeneratorStarted() { |
| 597 ++activeTestGenerators; | 600 ++activeTestGenerators; |
| 598 } | 601 } |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1060 * $noCrash tests are expected to be flaky but not crash | 1063 * $noCrash tests are expected to be flaky but not crash |
| 1061 * $pass tests are expected to pass | 1064 * $pass tests are expected to pass |
| 1062 * $failOk tests are expected to fail that we won't fix | 1065 * $failOk tests are expected to fail that we won't fix |
| 1063 * $fail tests are expected to fail that we should fix | 1066 * $fail tests are expected to fail that we should fix |
| 1064 * $crash tests are expected to crash that we should fix | 1067 * $crash tests are expected to crash that we should fix |
| 1065 * $timeout tests are allowed to timeout | 1068 * $timeout tests are allowed to timeout |
| 1066 """; | 1069 """; |
| 1067 print(report); | 1070 print(report); |
| 1068 } | 1071 } |
| 1069 } | 1072 } |
| OLD | NEW |