Skip to content

Set FLUTTER_ROOT automatically to simplify running flutter_tools tests #4427

@DanTup

Description

@DanTup

Currently you may have to set the FLUTTER_ROOT variable manually in launch.config/dart.env when running flutter_tools tests.

Since we know where the SDK is, perhaps we could just always set this when starting the Flutter debug adapters, as long as there isn't already one defined?

@christopherfujino can you see any cases where this wouldn't do the right thing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsin testingRelates to test execution of Dart/Flutter tests for end usersis enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions