mirror of
https://github.com/flutter/packages.git
synced 2025-08-24 03:18:54 +08:00
[tool] Extend flutter test
workaround to other desktops (#6024)
Expand the multiple-test-files workaround in `drive-examples` from macOS to all of the desktop platforms, now that we know it's not macOS-specific. See https://github.com/flutter/flutter/issues/135673
This commit is contained in:
@ -404,8 +404,10 @@ class DriveExamplesCommand extends PackageLoopingCommand {
|
||||
// Workaround for https://github.com/flutter/flutter/issues/135673
|
||||
// Once that is fixed on stable, this logic can be removed and the command
|
||||
// can always just be run with "integration_test".
|
||||
final bool needsMultipleInvocations =
|
||||
testFiles.length > 1 && getBoolArg(platformMacOS);
|
||||
final bool needsMultipleInvocations = testFiles.length > 1 &&
|
||||
(getBoolArg(platformLinux) ||
|
||||
getBoolArg(platformMacOS) ||
|
||||
getBoolArg(platformWindows));
|
||||
final Iterable<String> individualRunTargets = needsMultipleInvocations
|
||||
? testFiles
|
||||
.map((File f) => getRelativePosixPath(f, from: example.directory))
|
||||
|
Reference in New Issue
Block a user