mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix windows, exclude widgets from others (#36197)
This commit is contained in:
parent
102ab1e6d9
commit
289064721d
@ -391,7 +391,8 @@ Future<void> _runTests() async {
|
|||||||
final List<String> tests = Directory(path.join(flutterRoot, 'packages', 'flutter', 'test'))
|
final List<String> tests = Directory(path.join(flutterRoot, 'packages', 'flutter', 'test'))
|
||||||
.listSync(followLinks: false, recursive: false)
|
.listSync(followLinks: false, recursive: false)
|
||||||
.whereType<Directory>()
|
.whereType<Directory>()
|
||||||
.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();
|
.toList();
|
||||||
|
|
||||||
print('Running tests for: ${tests.join(';')}');
|
print('Running tests for: ${tests.join(';')}');
|
||||||
|
Loading…
Reference in New Issue
Block a user