-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Skip tests on Mono #75160
Skip tests on Mono #75160
Conversation
The functionality work both on little endian and bigendian architecture. Hence removing the assert statements. These can be verified by running CommandLine test suite.
Couple of visualBasic "EmitAndContinue" test cases fail with "Operation is not supported on this platform" error. Reason for these failure is that they are not supported on Mono. Ensured that these test cases are skipped when run on mono.
This reverts commit 534273d.
Couple of visualBasic "EmitAndContinue" test cases fail with "Operation is not supported on this platform" error. Reason for these failure is that they are not supported on Mono. Ensured that these test cases are skipped when run on mono.
\cc @uweigand |
@jaredpar , The suggested changes have been incorporated and all tests are passing. |
@dotnet/roslyn-compiler PTAL |
@@ -159,6 +159,7 @@ public static class ExecutionConditionUtil | |||
public static bool IsWindowsDesktop => IsWindows && IsDesktop; | |||
public static bool IsMonoDesktop => Type.GetType("Mono.Runtime") != null; | |||
public static bool IsMono => MonoHelpers.IsRunningOnMono(); |
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.
Should we remove this property or change the logic to be IsMonoDesktop || IsMonoCore
?
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.
(Separate PR or filing an issue here is fine as well.)
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 would prefer to remove as part of new PR.
Co-authored-by: Jan Jones <jan.jones.cz@gmail.com>
Thanks @giritrivedi |
Couple of visualBasic "EmitAndContinue" test cases fail with
"Operation is not supported on this platform" error.
Reason for this failure is that they are not supported on Mono.
Ensured that these test cases are skipped when run on mono.