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

Use ConditionalFact/Theory for skipping RemoteExecutor on unsupported platforms #37479

Merged
merged 4 commits into from
Jun 9, 2020

Conversation

akoeplinger
Copy link
Member

RemoteExecutor doesn't work on platforms that can't spawn processes like iOS/Android/WebAssembly.

@ghost
Copy link

ghost commented Jun 5, 2020

Tagging subscribers to this area: @ViktorHofer
Notify danmosemsft if you want to be subscribed.

@akoeplinger akoeplinger force-pushed the remoteexecutor-conditional branch 3 times, most recently from 6cabed3 to 674bb52 Compare June 5, 2020 11:15
@stephentoub
Copy link
Member

I thought we were exploring ways to do this without annotating all tests that use it. Did that turn out not to be possible?

@akoeplinger akoeplinger force-pushed the remoteexecutor-conditional branch 2 times, most recently from bec1b74 to 569d487 Compare June 5, 2020 11:19
@akoeplinger
Copy link
Member Author

@stephentoub yes it turned out to be impossible

@akoeplinger akoeplinger marked this pull request as ready for review June 5, 2020 11:23
@stephentoub
Copy link
Member

Ok, thanks

@akoeplinger akoeplinger requested a review from safern June 5, 2020 11:23
… platforms

RemoteExecutor doesn't work on platforms that can't spawn processes like iOS/Android/WebAssembly.
@akoeplinger akoeplinger force-pushed the remoteexecutor-conditional branch from 569d487 to 668bc6a Compare June 5, 2020 11:50
Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@safern safern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

…nditional

# Conflicts:
#	src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs
…nditional

# Conflicts:
#	src/libraries/System.Diagnostics.Process/tests/ProcessStreamReadTests.cs
@akoeplinger
Copy link
Member Author

Failures are #37635 and #36488

@akoeplinger akoeplinger merged commit da10ba8 into dotnet:master Jun 9, 2020
@akoeplinger akoeplinger deleted the remoteexecutor-conditional branch June 9, 2020 10:40
akoeplinger added a commit that referenced this pull request Jun 17, 2020
…s not supported (#37992)

Those sneaked in with #37528 which was merged at the same time as my PR #37479.
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants