Skip to content

Implement an ability to only run tests on a particular platform #47459

Closed
@nagisa

Description

@nagisa

Currently we have an ability to specify targets to ignore tests on some platforms in form of //ignore-<arch> comment appearing somewhere in the file.

These attributes, however, are hardly usable when a test is intended to target a single architecture, as you’d have to specify every architecture test is not targeting.

The idea is to implement an attribute // only-<target>, which essentially an equivalent to specifying // ignore-* for every target but the <target>.

The relevant location to change would be here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions