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