| Index: dart/tools/testing/dart/co19_test.dart
|
| diff --git a/dart/tools/testing/dart/co19_test.dart b/dart/tools/testing/dart/co19_test.dart
|
| index dc28b474c82f4b6c332818862b47b7e84ba22bf3..e793344a86090779d86c7be76e84dd3532f99a6a 100644
|
| --- a/dart/tools/testing/dart/co19_test.dart
|
| +++ b/dart/tools/testing/dart/co19_test.dart
|
| @@ -42,13 +42,14 @@ const List<List<String>> COMMAND_LINES = const <List<String>>[
|
| '--minified'],
|
| const <String>['-mrelease', '-rd8,jsshell', '-cdart2js', '--use-sdk',
|
| '--checked'],
|
| + const <String>['-mrelease', '-rdartium', '-cnone', '--use-sdk',
|
| + '--checked'],
|
| + const <String>['-mrelease', '-rdartium', '-cnone', '--use-sdk'],
|
| ];
|
|
|
| -void main() {
|
| - Options options = new Options();
|
| - File scriptFile = new File(options.script);
|
| - Path scriptPath =
|
| - new Path(scriptFile.fullPathSync())
|
| +void main(List<String> args) {
|
| + File scriptFile = new File(new Path(Platform.script.path).toNativePath());
|
| + Path scriptPath = new Path(scriptFile.absolute.path)
|
| .directoryPath.directoryPath.directoryPath.append('test.dart');
|
| TestUtils.testScriptPath = scriptPath.toNativePath();
|
| var optionsParser = new TestOptionsParser();
|
| @@ -56,7 +57,7 @@ void main() {
|
| for (var commandLine in COMMAND_LINES) {
|
| List arguments = <String>[];
|
| arguments.addAll(COMMON_ARGUMENTS);
|
| - arguments.addAll(options.arguments);
|
| + arguments.addAll(args);
|
| arguments.addAll(commandLine);
|
| configurations.addAll(optionsParser.parse(arguments));
|
| }
|
|
|