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

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

Issue 11784011: Fix dartc testing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « no previous file | 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 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 List<String> _testDirs; 1446 List<String> _testDirs;
1447 1447
1448 DartcCompilationTestSuite(Map configuration, 1448 DartcCompilationTestSuite(Map configuration,
1449 String suiteName, 1449 String suiteName,
1450 String directoryPath, 1450 String directoryPath,
1451 List<String> this._testDirs, 1451 List<String> this._testDirs,
1452 List<String> expectations) 1452 List<String> expectations)
1453 : super(configuration, 1453 : super(configuration,
1454 suiteName, 1454 suiteName,
1455 new Path.fromNative(directoryPath), 1455 new Path.fromNative(directoryPath),
1456 expectations); 1456 expectations,
1457 []);
1457 1458
1458 List<String> additionalOptions(Path filePath) { 1459 List<String> additionalOptions(Path filePath) {
1459 return ['--fatal-warnings', '--fatal-type-errors']; 1460 return ['--fatal-warnings', '--fatal-type-errors'];
1460 } 1461 }
1461 1462
1462 Future enqueueTests() { 1463 Future enqueueTests() {
1463 var group = new FutureGroup(); 1464 var group = new FutureGroup();
1464 1465
1465 for (String testDir in _testDirs) { 1466 for (String testDir in _testDirs) {
1466 Directory dir = new Directory.fromPath(suiteDir.append(testDir)); 1467 Directory dir = new Directory.fromPath(suiteDir.append(testDir));
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1821 * $pass tests are expected to pass 1822 * $pass tests are expected to pass
1822 * $failOk tests are expected to fail that we won't fix 1823 * $failOk tests are expected to fail that we won't fix
1823 * $fail tests are expected to fail that we should fix 1824 * $fail tests are expected to fail that we should fix
1824 * $crash tests are expected to crash that we should fix 1825 * $crash tests are expected to crash that we should fix
1825 * $timeout tests are allowed to timeout 1826 * $timeout tests are allowed to timeout
1826 * $compileErrorSkip tests are skipped on browsers due to compile-time error 1827 * $compileErrorSkip tests are skipped on browsers due to compile-time error
1827 """; 1828 """;
1828 print(report); 1829 print(report);
1829 } 1830 }
1830 } 1831 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698