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

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

Issue 9159064: Add flag to tools/test.dart. Add utils test suite to list of default suites. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months 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 | « tools/testing/dart/test_options.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("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
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
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 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698