Skip to content

Commit

Permalink
Disable ComDisabled tests on Mono (#52128)
Browse files Browse the repository at this point in the history
  • Loading branch information
elinor-fung committed Apr 30, 2021
1 parent 4ed8a7e commit 94221f3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFrameworks>$(NetCoreAppCurrent)</TargetFrameworks>
<TestRuntime>true</TestRuntime>
<!-- COM tests are currently only supported only in windows -->
<IgnoreForCI Condition="'$(TargetOS)' != 'Windows'">true</IgnoreForCI>
<TestRuntime>true</TestRuntime>
<!-- COM tests are currently only supported only in Windows on coreclr -->
<IgnoreForCI Condition="'$(TargetOS)' != 'Windows' or '$(RuntimeFlavor)' != 'CoreCLR'">true</IgnoreForCI>
</PropertyGroup>
<ItemGroup>
<ItemGroup>
<Compile Include="System\Runtime\InteropServices\Marshal\MarshalComDisabledTests.cs" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 94221f3

Please sign in to comment.