Fix windows, exclude widgets from others (#36197)

This commit is contained in:
Dan Field 2019-07-15 12:34:53 -07:00 committed by GitHub
parent 102ab1e6d9
commit 289064721d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(';')}');