Skip to content

Potential dependency of the coverage tools on the platform it's run on #61178

@chloestefantsova

Description

@chloestefantsova

I noticed some surprising behavior of the coverage tool while working on https://dart-review.googlesource.com/c/sdk/+/438660. It happened on Patchset 6.

  • I ran the tool (dart --enable-asserts pkg/front_end/test/coverage_suite.dart --tasks=5 --add-and-remove-comments --update-expectations) on a Mac. It provided some updates. I uploaded the coverage updates as Patchset 6.
  • The CI reported failures on coverage tests.
  • I re-ran the tool on the Mac again. It made no further changes to the code, so there was no way to update the CL on that machine to make the failed tests pass on the CI.
  • I patched the CL on a Linux machine and ran the tool there. It made some updates. I uploaded the updates as Patchset 7.
  • The coverage tests on the CI passed this time.

So I suspect there's some dependency of the coverage tool on the platform it's run on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.cfe-testingIssues related to testing of the CFE.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions