diff --git a/dev/bots/test.dart b/dev/bots/test.dart index a8c06c8a5a..b13d851540 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -842,9 +842,12 @@ Future _runFrameworkTests() async { workingDirectory: path.join(flutterRoot, 'examples', 'api'), ); } - await _runFlutterTest(path.join(flutterRoot, 'examples', 'api')); - await _runFlutterTest(path.join(flutterRoot, 'examples', 'hello_world')); - await _runFlutterTest(path.join(flutterRoot, 'examples', 'layers')); + for (final FileSystemEntity entity in Directory(path.join(flutterRoot, 'examples')).listSync()) { + if (entity is! Directory || !Directory(path.join(entity.path, 'test')).existsSync()) { + continue; + } + await _runFlutterTest(entity.path); + } } Future runTracingTests() async {