From 8c3d7e95706f41603ee5486677d4a3c02960940c Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 5 Feb 2024 13:51:17 -0800 Subject: [PATCH] Run examples_smoke_test on Linux (#142736) Flutter apps run on Linux. Remove TODO. --- dev/bots/test.dart | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/dev/bots/test.dart b/dev/bots/test.dart index 89651575b0..a8d164c373 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -841,19 +841,16 @@ Future _runFrameworkTests() async { } Future runExampleTests() async { - // TODO(gspencergoog): Currently Linux LUCI bots can't run desktop Flutter applications, https://github.com/flutter/flutter/issues/90676 - if (!Platform.isLinux || ciProvider != CiProviders.luci) { - await runCommand( - flutter, - ['config', '--enable-${Platform.operatingSystem}-desktop'], - workingDirectory: flutterRoot, - ); - await runCommand( - dart, - [path.join(flutterRoot, 'dev', 'tools', 'examples_smoke_test.dart')], - workingDirectory: path.join(flutterRoot, 'examples', 'api'), - ); - } + await runCommand( + flutter, + ['config', '--enable-${Platform.operatingSystem}-desktop'], + workingDirectory: flutterRoot, + ); + await runCommand( + dart, + [path.join(flutterRoot, 'dev', 'tools', 'examples_smoke_test.dart')], + workingDirectory: path.join(flutterRoot, 'examples', 'api'), + ); for (final FileSystemEntity entity in Directory(path.join(flutterRoot, 'examples')).listSync()) { if (entity is! Directory || !Directory(path.join(entity.path, 'test')).existsSync()) { continue;