| Index: tools/testing/dart/test_options.dart
|
| ===================================================================
|
| --- tools/testing/dart/test_options.dart (revision 32103)
|
| +++ tools/testing/dart/test_options.dart (working copy)
|
| @@ -335,6 +335,15 @@
|
| 'bool'
|
| ),
|
| new _TestOptionSpecification(
|
| + 'copy_coredumps',
|
| + 'If we see a crash that we did not expect, copy the core dumps. '
|
| + 'to /tmp',
|
| + ['--copy-coredumps'],
|
| + [],
|
| + false,
|
| + 'bool'
|
| + ),
|
| + new _TestOptionSpecification(
|
| 'local_ip',
|
| 'IP address the http servers should listen on.'
|
| 'This address is also used for browsers to connect.',
|
| @@ -616,6 +625,12 @@
|
| print("Cannot have both --use-repository-packages and "
|
| "--use-public-packages");
|
| }
|
| +
|
| + if (config['copy_coredumps'] && Platform.operatingSystem != 'linux') {
|
| + isValid = false;
|
| + print("Coredump copying is not yet available on non linux systems");
|
| + }
|
| +
|
| return isValid;
|
| }
|
|
|
|
|