diff --git a/dev/bots/test.dart b/dev/bots/test.dart index db8ded9f17..27d4a2ffb6 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -391,7 +391,8 @@ Future _runTests() async { final List tests = Directory(path.join(flutterRoot, 'packages', 'flutter', 'test')) .listSync(followLinks: false, recursive: false) .whereType() - .map((Directory dir) => 'test/${path.basename(dir.path)}/') + .where((Directory dir) => dir.path.endsWith('widgets') == false) + .map((Directory dir) => path.join('test', path.basename(dir.path)) + path.separator) .toList(); print('Running tests for: ${tests.join(';')}');