diff --git a/dev/bots/test.dart b/dev/bots/test.dart index b4fcf523dc..2e14b41f8b 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -482,7 +482,7 @@ Future _runAndroidPreviewIntegrationToolTests() async { final List allTests = Directory(path.join(_toolsPath, 'test', 'android_preview_integration.shard')) .listSync(recursive: true).whereType() .map((FileSystemEntity entry) => path.relative(entry.path, from: _toolsPath)) - .toList(); + .where((String testPath) => path.basename(testPath).endsWith('_test.dart')).toList(); await _runDartTest( _toolsPath,