
We don't actually care if we're on linux, we care only if the lcov tool is available. We check for that explicitly just below. Additionally there is code below which indicates that lcov is available for macOS. Before this change that code would never execute.
Flutter Tools
Tools for building Flutter applications.
To run the tests, ensure that no devices are connected,
then navigate to flutter_tools
and execute:
../../bin/cache/dart-sdk/bin/pub run test -j1