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

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

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebuild DOM (unrelated CL) and update status files. Created 7 years, 8 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/dom/templates/immutable_list_mixin.darttemplate ('k') | utils/pub/git_source.dart » ('j') | 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 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 } 1087 }
1088 args.add('--out=$outputFile'); 1088 args.add('--out=$outputFile');
1089 args.add(inputFile); 1089 args.add(inputFile);
1090 break; 1090 break;
1091 default: 1091 default:
1092 print('unimplemented compiler $compiler'); 1092 print('unimplemented compiler $compiler');
1093 exit(1); 1093 exit(1);
1094 } 1094 }
1095 if (executable.endsWith('.dart')) { 1095 if (executable.endsWith('.dart')) {
1096 // Run the compiler script via the Dart VM. 1096 // Run the compiler script via the Dart VM.
1097 args.insertRange(0, 1, executable); 1097 args.insert(0, executable);
1098 executable = dartShellFileName; 1098 executable = dartShellFileName;
1099 } 1099 }
1100 if (['dart2js', 'dart2dart'].contains(configuration['compiler'])) { 1100 if (['dart2js', 'dart2dart'].contains(configuration['compiler'])) {
1101 return new CompilationCommand(outputFile, 1101 return new CompilationCommand(outputFile,
1102 !useSdk, 1102 !useSdk,
1103 dart2JsBootstrapDependencies, 1103 dart2JsBootstrapDependencies,
1104 compilerPath, 1104 compilerPath,
1105 args); 1105 args);
1106 } 1106 }
1107 return new Command(executable, args); 1107 return new Command(executable, args);
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
1938 * $pass tests are expected to pass 1938 * $pass tests are expected to pass
1939 * $failOk tests are expected to fail that we won't fix 1939 * $failOk tests are expected to fail that we won't fix
1940 * $fail tests are expected to fail that we should fix 1940 * $fail tests are expected to fail that we should fix
1941 * $crash tests are expected to crash that we should fix 1941 * $crash tests are expected to crash that we should fix
1942 * $timeout tests are allowed to timeout 1942 * $timeout tests are allowed to timeout
1943 * $compileErrorSkip tests are skipped on browsers due to compile-time error 1943 * $compileErrorSkip tests are skipped on browsers due to compile-time error
1944 """; 1944 """;
1945 print(report); 1945 print(report);
1946 } 1946 }
1947 } 1947 }
OLDNEW
« no previous file with comments | « tools/dom/templates/immutable_list_mixin.darttemplate ('k') | utils/pub/git_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698