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

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

Issue 11575028: Moved the testing scripts to the new import/library/part syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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/dart/browser_test.dart ('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
11 * co19. 11 * co19.
12 * 12 *
13 * Usage: 13 * Usage:
14 * [: ./tools/testing/bin/$OS/dart tools/testing/dart/co19_test.dart :] 14 * [: ./tools/testing/bin/$OS/dart tools/testing/dart/co19_test.dart :]
15 */ 15 */
16 16
17 #library("co19_test"); 17 library co19_test;
18 18
19 #import("dart:io"); 19 import "dart:io";
20 #import("test_runner.dart"); 20 import "test_runner.dart";
21 #import("test_options.dart"); 21 import "test_options.dart";
22 #import("test_suite.dart"); 22 import "test_suite.dart";
23 #import("test_progress.dart"); 23 import "test_progress.dart";
24 24
25 #import("../../../tests/co19/test_config.dart"); 25 import "../../../tests/co19/test_config.dart";
26 26
27 const List<String> COMMON_ARGUMENTS = const <String>['--report']; 27 const List<String> COMMON_ARGUMENTS = const <String>['--report'];
28 28
29 const List<List<String>> COMMAND_LINES = const <List<String>>[ 29 const List<List<String>> COMMAND_LINES = const <List<String>>[
30 const <String>['-mrelease,debug', '-rvm', '-cnone'], 30 const <String>['-mrelease,debug', '-rvm', '-cnone'],
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']];
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/dart/browser_test.dart ('k') | tools/testing/dart/drt_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698