Skip to content

Cannot pass --suppress-analytics to dart test #56842

@matanlurey

Description

@matanlurey

There does not appear to be a valid combination where I can pass --suppress-analytics to dart test:

% drt --version
Dart SDK version: 3.6.0-273.0.dev (dev) (Tue Sep 24 05:03:01 2024 -0700) on "macos_arm64"

% drt --help
A command-line utility for Dart development.

Usage: dart <command|dart-file> [arguments]

Global options:
-v, --verbose               Show additional command output.
    --version               Print the Dart SDK version.
    --enable-analytics      Enable analytics.
    --disable-analytics     Disable analytics.
    --suppress-analytics    Disallow analytics for this `dart *` run without changing the analytics configuration.
-h, --help                  Print this usage information.

% drt --suppress-analytics test
Setting VM flags failed: Unrecognized flags: suppress_analytics

% drt test --suppress-analytics
Building package executable... 
Built test:test.
Could not find an option named "suppress-analytics".

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.triagedIssue has been triaged by sub teamtype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions