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

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

Issue 9447094: Backout change in test.dart from -batch to --batch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 | « compiler/java/com/google/dart/compiler/CommandLineOptions.java ('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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 } 842 }
843 } 843 }
844 844
845 String shellPath() => TestUtils.compilerPath(configuration); 845 String shellPath() => TestUtils.compilerPath(configuration);
846 846
847 List<String> additionalOptions(String filename) { 847 List<String> additionalOptions(String filename) {
848 filename = new File(filename).fullPathSync().replaceAll('\\', '/'); 848 filename = new File(filename).fullPathSync().replaceAll('\\', '/');
849 Directory tempDir = createOutputDirectory(filename, 'dartc-test'); 849 Directory tempDir = createOutputDirectory(filename, 'dartc-test');
850 return 850 return
851 [ '--fatal-warnings', '--fatal-type-errors', 851 [ '--fatal-warnings', '--fatal-type-errors',
852 '-check-only', '-out', tempDir.path]; 852 '--out', tempDir.path];
853 } 853 }
854 854
855 void processDirectory() { 855 void processDirectory() {
856 directoryPath = '$dartDir/$directoryPath'; 856 directoryPath = '$dartDir/$directoryPath';
857 // Enqueueing the directory listers is an activity. 857 // Enqueueing the directory listers is an activity.
858 activityStarted(); 858 activityStarted();
859 for (String testDir in _testDirs) { 859 for (String testDir in _testDirs) {
860 Directory dir = new Directory("$directoryPath/$testDir"); 860 Directory dir = new Directory("$directoryPath/$testDir");
861 if (dir.existsSync()) { 861 if (dir.existsSync()) {
862 activityStarted(); 862 activityStarted();
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1140 * $noCrash tests are expected to be flaky but not crash 1140 * $noCrash tests are expected to be flaky but not crash
1141 * $pass tests are expected to pass 1141 * $pass tests are expected to pass
1142 * $failOk tests are expected to fail that we won't fix 1142 * $failOk tests are expected to fail that we won't fix
1143 * $fail tests are expected to fail that we should fix 1143 * $fail tests are expected to fail that we should fix
1144 * $crash tests are expected to crash that we should fix 1144 * $crash tests are expected to crash that we should fix
1145 * $timeout tests are allowed to timeout 1145 * $timeout tests are allowed to timeout
1146 """; 1146 """;
1147 print(report); 1147 print(report);
1148 } 1148 }
1149 } 1149 }
OLDNEW
« no previous file with comments | « compiler/java/com/google/dart/compiler/CommandLineOptions.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698