Skip to content
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

Merged
merged 17 commits into from
Oct 21, 2024
Merged

Skip tests on Mono #75160

merged 17 commits into from
Oct 21, 2024

Conversation

giritrivedi
Copy link
Contributor

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.

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.
@giritrivedi giritrivedi requested a review from a team as a code owner September 18, 2024 15:08
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Sep 18, 2024
@dotnet-policy-service dotnet-policy-service bot added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Sep 18, 2024
@giritrivedi giritrivedi changed the title Skip mono tests Skip tests on Mono Sep 18, 2024
@jaredpar jaredpar self-assigned this Sep 18, 2024
@giritrivedi
Copy link
Contributor Author

\cc @uweigand

@giritrivedi
Copy link
Contributor Author

@jaredpar , The suggested changes have been incorporated and all tests are passing.
Would you mind reviewing it one more time ?

@jaredpar jaredpar added the Platform - Mono CoreClr Bugs specific to mono coreclr label Oct 16, 2024
@jaredpar
Copy link
Member

@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();
Copy link
Member

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?

Copy link
Member

@jjonescz jjonescz Oct 18, 2024

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.)

Copy link
Contributor Author

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>
@jjonescz jjonescz merged commit ee9dad7 into dotnet:main Oct 21, 2024
24 checks passed
@jjonescz
Copy link
Member

Thanks @giritrivedi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Community The pull request was submitted by a contributor who is not a Microsoft employee. Platform - Mono CoreClr Bugs specific to mono coreclr untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants