| Index: tools/testing/dart/test_options.dart
|
| diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart
|
| index ad6a73ededce86f33a0b8550e2e4fb6435dffb7e..8622a6fece8c6d1c077814d0e06bd7bdcc4e469a 100644
|
| --- a/tools/testing/dart/test_options.dart
|
| +++ b/tools/testing/dart/test_options.dart
|
| @@ -113,7 +113,7 @@ is 'dart file.dart' and you specify special command
|
| 'The operating system to run tests on',
|
| ['-s', '--system'],
|
| ['linux', 'macos', 'windows'],
|
| - Platform.operatingSystem()),
|
| + Platform.operatingSystem),
|
| new _TestOptionSpecification(
|
| 'checked',
|
| 'Run tests in checked mode',
|
| @@ -154,7 +154,7 @@ is 'dart file.dart' and you specify special command
|
| 'The number of parallel tasks to run',
|
| ['-j', '--tasks'],
|
| [],
|
| - Platform.numberOfProcessors(),
|
| + Platform.numberOfProcessors,
|
| 'int'),
|
| new _TestOptionSpecification(
|
| 'shards',
|
| @@ -418,7 +418,7 @@ Note: currently only implemented for dart2js.''',
|
| "${config['runtime']} is invalid. Skipping this combination.");
|
| }
|
| if (config['runtime'] == 'ie' &&
|
| - Platform.operatingSystem() != 'windows') {
|
| + Platform.operatingSystem != 'windows') {
|
| isValid = false;
|
| print("Warning cannot run Internet Explorer on non-Windows operating" +
|
| " system.");
|
|
|