-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#71252 disable Atan2PiTest on Android x86 #71382
#71252 disable Atan2PiTest on Android x86 #71382
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -1486,7 +1486,7 @@ public static void Atan2PiTest(double y, double x, double expectedResult, double | |||
AssertExtensions.Equal(+expectedResult, double.Atan2Pi(+y, +x), allowedVariance); | |||
} | |||
|
|||
[Theory] | |||
[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotAndroid), nameof(PlatformDetection.IsNotX86Process))] // disabled on Android x86, see https://github.com/dotnet/runtime/issues/71252 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this disable the test on all x86, not just for Android?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my understanding it works like PlatformDetection.IsNotAndroid && PlatformDetection.IsNotX86Process
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, so if it is x86, it fails the right clause, and that whole expression is false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see , I will add new property in PlatformDetection then checking IsNotAndroid || (IsAndroid && IsNotX86Process)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then checking IsNotAndroid || (IsAndroid && IsNotX86Process)
You just want !(IsAndroid && Isx86)
Tagging subscribers to 'arch-android': @steveisok, @akoeplinger Issue DetailsDisable Atan2PiTest on Android x86 #71252
|
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
Thanks. There's a good chance we'll be able to reenable those tests once #65723 lands. |
Disable Atan2PiTest on Android x86 #71252