Skip to content

Commit dda26de

Browse files
Disable System.IO.Pipelines.Tests and UnsafeAccessorsTests tests on extra-platforms (#117812)
* Disable System.IO.Pipelines.Tests and UnsafeAccessorsTests tests * Fix condition * Update src/libraries/tests.proj Co-authored-by: Alexander Köplinger <[email protected]> --------- Co-authored-by: Alexander Köplinger <[email protected]>
1 parent 085732c commit dda26de

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/libraries/tests.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,12 @@
219219
<ProjectExclusions Include="$(RepoRoot)\src\tests\FunctionalTests\Android\Device_Emulator\LibraryMode_AOT_LLVM\Android.Device_Emulator.LibraryMode_Aot_Llvm.Test.csproj" />
220220
</ItemGroup>
221221

222-
<ItemGroup Condition="'$(TargetOS)' == 'android' and '$(RuntimeFlavor)' == 'Mono' and '$(RunDisablediOSTests)' != 'true'">
222+
<ItemGroup Condition="'$(TargetOS)' == 'android' and '$(RuntimeFlavor)' == 'Mono' and '$(RunDisabledAndroidTests)' != 'true'">
223223
<ProjectExclusions Include="$(RepoRoot)\src\tests\FunctionalTests\Android\Device_Emulator\JIT\Android.Device_Emulator.JIT.Test.csproj" />
224224
<ProjectExclusions Include="$(RepoRoot)\src\tests\FunctionalTests\Android\Device_Emulator\JIT\Android.Device_Emulator.JIT.Static.Test.csproj" />
225225
</ItemGroup>
226226

227-
<ItemGroup Condition="'$(TargetOS)' == 'android' and '$(RuntimeFlavor)' == 'CoreCLR' and '$(RunDisablediOSTests)' != 'true'">
227+
<ItemGroup Condition="'$(TargetOS)' == 'android' and '$(RuntimeFlavor)' == 'CoreCLR' and '$(RunDisabledAndroidTests)' != 'true'">
228228
<!-- https://github.com/dotnet/runtime/issues/117045 -->
229229
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj" />
230230
<!-- https://github.com/dotnet/runtime/issues/114951 -->

src/tests/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<!-- Needed for mechanical merging of all remaining tests, this particular project may not actually need process isolation -->
44
<RequiresProcessIsolation>true</RequiresProcessIsolation>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
6+
<!-- Tracking issue: https://github.com/dotnet/runtime/issues/116937 -->
7+
<MonoAotIncompatible>true</MonoAotIncompatible>
8+
<DisableProjectBuild Condition="'$(RuntimeFlavor)' == 'mono'">true</DisableProjectBuild>
69
</PropertyGroup>
710
<ItemGroup>
811
<Compile Include="UnsafeAccessorsTests.cs" />

0 commit comments

Comments
 (0)