Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Add TargetArch (or similar) as a xunit.netcore.extensions #1979

@sdmaclea

Description

@sdmaclea

It would be nice to have something similar to TestPlatforms for target arch x64,x86,arm,arm64

public enum TestPlatforms
{
Windows = 1,
Linux = 2,
OSX = 4,
FreeBSD = 8,
NetBSD = 16,
AnyUnix = FreeBSD | Linux | NetBSD | OSX,
Any = ~0
}

This would be intended to be used in corefx to extend the [ActiveIssue(int issue, TestPlatforms platforms)]test filtering to allow disabling for a specific architecture.

Current usage includes cases like this
[ActiveIssue(2743, TestPlatforms.AnyUnix & ~TestPlatforms.OSX)]

This would allow something like
[ActiveIssue(2743, TestPlatforms.AnyUnix, TestArch.ARM)]

Arm has a list of failing test https://github.com/dotnet/coreclr/issues/16001

It is currently disabling whole test suites.
https://github.com/dotnet/coreclr/blob/235a34673994560deb6011be08aff18b4399658b/tests/scripts/run-corefx-tests.bat#L20-L24

This would provide a mechanism for fime grain control.

x86 and arm64 will have similar issues. See https://github.com/dotnet/coreclr/issues/17020 for instance.

@BruceForstall @jkotas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions