Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Fix PlatformDetection.IsMonoInterpreter for mobile (#59587)
* [tests] Correctly detect the Mono interpreter Checking for MONO_ENV_OPTIONS is not reliable for the mobile test runners because they use the embedding API to enable the interpreter, rather than setting an environment option. Instead detect the interpreter by checking the values of the IsDynamicCodeSupported and IsDynamicCodeCompiled runtime features. * [tests] Run System.Threading.Tasks.Dataflow.Tests on Apple platforms * Only check RuntimeFeature on netcoreapp. Otherwise return false these tests are not running on mono if they're running on .NET Framework
- Loading branch information