mirror of
https://github.com/flutter/packages.git
synced 2025-05-31 13:38:45 +08:00

For non-web platforms, `flutter drive` is deprecated. This switches those platforms from `flutter drive` to `flutter test`. This makes the logic to check for test driver files web-specific, since `flutter test` doesn't require a driver. Removes support for the legacy test-in-test_driver-directory structure, which is no longer used anywhere in the repository. Also includes a minor drive-by fix to the way we do process output, noticed while manually testing. Instead of adding all stdout, and only then adding all stderr, this adds both then waits for both, which should allow interleaving of stdout and stderr in the terminal. Fixes https://github.com/flutter/flutter/issues/105634