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

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

Issue 18826010: When using content_shell to run tests, run them with '--single-process' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 if (runtime != "drt") { 1044 if (runtime != "drt") {
1045 print("Unknown runtime $runtime"); 1045 print("Unknown runtime $runtime");
1046 exit(1); 1046 exit(1);
1047 } 1047 }
1048 1048
1049 var dartFlags = []; 1049 var dartFlags = [];
1050 var contentShellOptions = []; 1050 var contentShellOptions = [];
1051 1051
1052 contentShellOptions.add('--no-timeout'); 1052 contentShellOptions.add('--no-timeout');
1053 contentShellOptions.add('--dump-render-tree'); 1053 contentShellOptions.add('--dump-render-tree');
1054 contentShellOptions.add('--single-process');
1054 1055
1055 if (compiler == 'none' || compiler == 'dart2dart') { 1056 if (compiler == 'none' || compiler == 'dart2dart') {
1056 dartFlags.add('--ignore-unrecognized-flags'); 1057 dartFlags.add('--ignore-unrecognized-flags');
1057 if (configuration["checked"]) { 1058 if (configuration["checked"]) {
1058 dartFlags.add('--enable_asserts'); 1059 dartFlags.add('--enable_asserts');
1059 dartFlags.add("--enable_type_checks"); 1060 dartFlags.add("--enable_type_checks");
1060 } 1061 }
1061 dartFlags.addAll(vmOptions); 1062 dartFlags.addAll(vmOptions);
1062 } 1063 }
1063 1064
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
1966 * $pass tests are expected to pass 1967 * $pass tests are expected to pass
1967 * $failOk tests are expected to fail that we won't fix 1968 * $failOk tests are expected to fail that we won't fix
1968 * $fail tests are expected to fail that we should fix 1969 * $fail tests are expected to fail that we should fix
1969 * $crash tests are expected to crash that we should fix 1970 * $crash tests are expected to crash that we should fix
1970 * $timeout tests are allowed to timeout 1971 * $timeout tests are allowed to timeout
1971 * $compileErrorSkip tests are skipped on browsers due to compile-time error 1972 * $compileErrorSkip tests are skipped on browsers due to compile-time error
1972 """; 1973 """;
1973 print(report); 1974 print(report);
1974 } 1975 }
1975 } 1976 }
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