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

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

Issue 2915843003: Simplify test_suite.dart. (Closed)
Patch Set: Fix path in test. Created 3 years, 6 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
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 * [: dart tools/testing/dart/co19_test.dart :] 14 * [: dart tools/testing/dart/co19_test.dart :]
15 */ 15 */
16 16
17 import 'dart:io'; 17 import 'dart:io';
18 18
19 import 'configuration.dart'; 19 import 'configuration.dart';
20 import 'options.dart'; 20 import 'options.dart';
21 import 'test_suite.dart';
22 import 'test_configurations.dart'; 21 import 'test_configurations.dart';
22 import 'utils.dart';
23 23
24 const List<String> COMMON_ARGUMENTS = const <String>[ 24 const List<String> COMMON_ARGUMENTS = const <String>[
25 '--report', 25 '--report',
26 '--progress=diff', 26 '--progress=diff',
27 'co19' 27 'co19'
28 ]; 28 ];
29 29
30 const List<List<String>> COMMAND_LINES = const <List<String>>[ 30 const List<List<String>> COMMAND_LINES = const <List<String>>[
31 const <String>['-mrelease,debug', '-rvm', '-cnone'], 31 const <String>['-mrelease,debug', '-rvm', '-cnone'],
32 const <String>['-mrelease,debug', '-rvm', '-cnone', '--checked'], 32 const <String>['-mrelease,debug', '-rvm', '-cnone', '--checked'],
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 arguments.addAll(COMMON_ARGUMENTS); 65 arguments.addAll(COMMON_ARGUMENTS);
66 arguments.addAll(args); 66 arguments.addAll(args);
67 arguments.addAll(commandLine); 67 arguments.addAll(commandLine);
68 configurations.addAll(optionsParser.parse(arguments)); 68 configurations.addAll(optionsParser.parse(arguments));
69 } 69 }
70 70
71 if (configurations != null || configurations.length > 0) { 71 if (configurations != null || configurations.length > 0) {
72 testConfigurations(configurations); 72 testConfigurations(configurations);
73 } 73 }
74 } 74 }
OLDNEW
« no previous file with comments | « tests/standalone/io/test_runner_test.dart ('k') | tools/testing/dart/compiler_configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698