| Index: tests/standalone/test_config.dart
|
| diff --git a/tests/standalone/test_config.dart b/tests/standalone/test_config.dart
|
| index c09e01aed7a8d513b433abc13ad88b18c756c6f2..e1d700cadab6abc0e6d80e851a699afb66f71399 100644
|
| --- a/tests/standalone/test_config.dart
|
| +++ b/tests/standalone/test_config.dart
|
| @@ -46,6 +46,14 @@ class StandaloneTestSuite {
|
| void processFile(String filename) {
|
| if (!filename.endsWith("Test.dart")) return;
|
|
|
| + // If patterns are given only list the files that match one of the
|
| + // patterns.
|
| + var patterns = configuration['patterns'];
|
| + if (!patterns.isEmpty() &&
|
| + !patterns.some((re) => re.hasMatch(filename))) {
|
| + return;
|
| + }
|
| +
|
| int start = filename.lastIndexOf(pathSeparator);
|
| String testName = filename.substring(start + 1, filename.length - 5);
|
| Set<String> expectations = testExpectationsMap.expectations(testName);
|
|
|