Chromium Code Reviews| Index: tools/testing/dart/test_options.dart |
| =================================================================== |
| --- tools/testing/dart/test_options.dart (revision 28998) |
| +++ tools/testing/dart/test_options.dart (working copy) |
| @@ -86,6 +86,9 @@ |
| dartium: Run Dart or JavaScript in Dartium. |
| + drtOnAndroid: Run Dart or JavaScript in Dartium content shell |
| + on Android. |
| + |
| [ff | chrome | safari | ie9 | ie10 | opera | chromeOnAndroid]: |
| Run JavaScript in the specified browser. |
| @@ -94,7 +97,7 @@ |
| ['-r', '--runtime'], |
| ['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox', |
| 'chrome', 'safari', 'ie9', 'ie10', 'opera', 'chromeOnAndroid', |
| - 'none'], |
| + 'drtOnAndroid', 'none'], |
| 'vm'), |
| new _TestOptionSpecification( |
| 'arch', |
| @@ -302,6 +305,30 @@ |
| [], |
| '127.0.0.1'), |
| new _TestOptionSpecification( |
| + 'test_server_port', |
| + 'Port for test http server.', |
| + ['--test_server_port'], |
| + [], |
| + 0), |
| + new _TestOptionSpecification( |
| + 'test_server_cross_origin_port', |
| + 'Port for test http server cross origin.', |
| + ['--test_server_cross_origin_port'], |
| + [], |
| + 0), |
| + new _TestOptionSpecification( |
| + 'test_driver_port', |
| + 'Port for http test driver server.', |
| + ['--test_driver_port'], |
| + [], |
| + 0), |
| + new _TestOptionSpecification( |
| + 'test_driver_error_port', |
| + 'Port for http test driver server errors.', |
| + ['--test_driver_error_port'], |
| + [], |
| + 0), |
|
kustermann
2013/10/24 09:36:00
You've the 'int.parse()' all over the place. Pleas
zra
2013/10/24 15:34:50
Done.
|
| + new _TestOptionSpecification( |
| 'record_to_file', |
| 'Records all the commands that need to be executed and writes it ' |
| 'out to a file.', |
| @@ -513,7 +540,7 @@ |
| break; |
| case 'none': |
| case 'dart2dart': |
| - validRuntimes = const ['vm', 'drt', 'dartium']; |
| + validRuntimes = const ['vm', 'drt', 'dartium', 'drtOnAndroid']; |
| break; |
| } |
| if (!validRuntimes.contains(config['runtime'])) { |