From 289064721da036d3f51f359a1fa2fe7b74cdc225 Mon Sep 17 00:00:00 2001 From: Dan Field Date: Mon, 15 Jul 2019 12:34:53 -0700 Subject: [PATCH] Fix windows, exclude widgets from others (#36197) --- dev/bots/test.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(';')}');