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

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

Issue 9447057: Incremental build is now off by default (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_runner.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) 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 /** 5 /**
6 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 } 826 }
827 } 827 }
828 828
829 String shellPath() => TestUtils.compilerPath(configuration); 829 String shellPath() => TestUtils.compilerPath(configuration);
830 830
831 List<String> additionalOptions(String filename) { 831 List<String> additionalOptions(String filename) {
832 filename = new File(filename).fullPathSync().replaceAll('\\', '/'); 832 filename = new File(filename).fullPathSync().replaceAll('\\', '/');
833 Directory tempDir = createOutputDirectory(filename, 'dartc-test'); 833 Directory tempDir = createOutputDirectory(filename, 'dartc-test');
834 return 834 return
835 [ '--fatal-warnings', '--fatal-type-errors', 835 [ '--fatal-warnings', '--fatal-type-errors',
836 '-check-only', '-out', tempDir.path]; 836 '--out', tempDir.path];
837 } 837 }
838 838
839 void processDirectory() { 839 void processDirectory() {
840 directoryPath = '$dartDir/$directoryPath'; 840 directoryPath = '$dartDir/$directoryPath';
841 // Enqueueing the directory listers is an activity. 841 // Enqueueing the directory listers is an activity.
842 activityStarted(); 842 activityStarted();
843 for (String testDir in _testDirs) { 843 for (String testDir in _testDirs) {
844 Directory dir = new Directory("$directoryPath/$testDir"); 844 Directory dir = new Directory("$directoryPath/$testDir");
845 if (dir.existsSync()) { 845 if (dir.existsSync()) {
846 activityStarted(); 846 activityStarted();
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 * $noCrash tests are expected to be flaky but not crash 1124 * $noCrash tests are expected to be flaky but not crash
1125 * $pass tests are expected to pass 1125 * $pass tests are expected to pass
1126 * $failOk tests are expected to fail that we won't fix 1126 * $failOk tests are expected to fail that we won't fix
1127 * $fail tests are expected to fail that we should fix 1127 * $fail tests are expected to fail that we should fix
1128 * $crash tests are expected to crash that we should fix 1128 * $crash tests are expected to crash that we should fix
1129 * $timeout tests are allowed to timeout 1129 * $timeout tests are allowed to timeout
1130 """; 1130 """;
1131 print(report); 1131 print(report);
1132 } 1132 }
1133 } 1133 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_runner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698