flutter/flutter
View on GitHubRespect flutter::Settings from command line arguments specified to test harnesses.
Open
#134,471 opened on Sep 11, 2023
P2c: tech-debtgood first issueteam-enginetriaged-engine
Repository metrics
- Stars
- (176,322 stars)
- PR merge metrics
- (Avg merge 7d 7h) (491 merged PRs in 30d)
Description
In //flutter/common, there are flutter::Settings in switches.h that can be read from the command line (via flutter::SettingsFromCommandLine). However, these settings are not respected in any of the test harnesses in //flutter/testing. Now, not all the settings are valid in unit-tests. So these likely need to be split apart into base settings for all exectuables. But stuff like log control, log tags, and such should be configurable from the command line in unit-tests.