| Index: tools/testing/dart/test_options.dart
|
| diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart
|
| index e5ac329ce2c3e45c3a590825b551d24ec6d6dd88..954aae4f432d1b88916de8b606332de38348a8c8 100644
|
| --- a/tools/testing/dart/test_options.dart
|
| +++ b/tools/testing/dart/test_options.dart
|
| @@ -373,8 +373,9 @@ is 'dart file.dart' and you specify special command
|
| pattern = ".*";
|
| }
|
| if (selectorMap.containsKey(suite)) {
|
| - print("Warning: selector '$suite/$pattern' overrides " +
|
| - "previous selector for suite '$suite'");
|
| + print("Error: '$suite/$pattern'. Only one test selection" +
|
| + " pattern is allowed to start with '$suite/'");
|
| + exit(1);
|
| }
|
| selectorMap[suite] = new RegExp(pattern);
|
| }
|
|
|