Add TargetArch (or similar) as a xunit.netcore.extensions #1979
Description
It would be nice to have something similar to TestPlatforms
for target arch x64
,x86
,arm
,arm64
buildtools/src/xunit.netcore.extensions/TestPlatforms.cs
Lines 10 to 19 in 2f0dec8
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.