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

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

Issue 11884029: Upload new Dart binaries and re-enable unit tests for test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change Futures.wait to Future.wait in two test script files. 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 | « tools/testing/bin/windows/dart.exe ('k') | tools/testing/dart/drt_updater.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 * Tool for running co19 tests. Used when updating co19. 6 * Tool for running co19 tests. Used when updating co19.
7 * 7 *
8 * Currently, this tool is merely a convenience around multiple 8 * Currently, this tool is merely a convenience around multiple
9 * invocations of test.dart. Long term, we hope to evolve this into a 9 * invocations of test.dart. Long term, we hope to evolve this into a
10 * script that can automate most of the tasks necessary when updating 10 * script that can automate most of the tasks necessary when updating
(...skipping 20 matching lines...) Expand all
31 const <String>['-mrelease,debug', '-rvm', '-cnone', '--checked'], 31 const <String>['-mrelease,debug', '-rvm', '-cnone', '--checked'],
32 const <String>['-mrelease', '-rnone', '-cdartc'], 32 const <String>['-mrelease', '-rnone', '-cdartc'],
33 const <String>['-mrelease', '-rvm', '-cdart2dart'], 33 const <String>['-mrelease', '-rvm', '-cdart2dart'],
34 const <String>['-mrelease', '-rd8', '-cdart2js', '--use-sdk'], 34 const <String>['-mrelease', '-rd8', '-cdart2js', '--use-sdk'],
35 const <String>['-mrelease', '-rd8', '-cdart2js', '--use-sdk', '--checked']]; 35 const <String>['-mrelease', '-rd8', '-cdart2js', '--use-sdk', '--checked']];
36 36
37 void main() { 37 void main() {
38 Options options = new Options(); 38 Options options = new Options();
39 File scriptFile = new File(options.script); 39 File scriptFile = new File(options.script);
40 Path scriptPath = 40 Path scriptPath =
41 new Path.fromNative(scriptFile.fullPathSync()) 41 new Path(scriptFile.fullPathSync())
42 .directoryPath.directoryPath.directoryPath.append('test.dart'); 42 .directoryPath.directoryPath.directoryPath.append('test.dart');
43 TestUtils.testScriptPath = scriptPath.toNativePath(); 43 TestUtils.testScriptPath = scriptPath.toNativePath();
44 var startTime = new Date.now(); 44 var startTime = new Date.now();
45 var optionsParser = new TestOptionsParser(); 45 var optionsParser = new TestOptionsParser();
46 List<Map> configurations = <Map>[]; 46 List<Map> configurations = <Map>[];
47 for (var commandLine in COMMAND_LINES) { 47 for (var commandLine in COMMAND_LINES) {
48 List arguments = <String>[]; 48 List arguments = <String>[];
49 arguments.addAll(COMMON_ARGUMENTS); 49 arguments.addAll(COMMON_ARGUMENTS);
50 arguments.addAll(options.arguments); 50 arguments.addAll(options.arguments);
51 arguments.addAll(commandLine); 51 arguments.addAll(commandLine);
(...skipping 24 matching lines...) Expand all
76 // Start process queue. 76 // Start process queue.
77 var queue = new ProcessQueue(maxProcesses, 77 var queue = new ProcessQueue(maxProcesses,
78 'diff', 78 'diff',
79 startTime, 79 startTime,
80 false, 80 false,
81 enqueueConfiguration, 81 enqueueConfiguration,
82 () {}, 82 () {},
83 verbose, 83 verbose,
84 listTests); 84 listTests);
85 } 85 }
OLDNEW
« no previous file with comments | « tools/testing/bin/windows/dart.exe ('k') | tools/testing/dart/drt_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698