Skip to content

Commit

Permalink
libraries/tests: skip System.Numerics.Tensors.Net8.Tests when DotNetB…
Browse files Browse the repository at this point in the history
…uildFromSource. (#97697)

This project expects to use the net8.0 target of System.Numerics.Tensors which
doesn't get built when DotNetBuildFromSource is true.
  • Loading branch information
tmds authored Jan 30, 2024
1 parent b76ef7f commit df05ddc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/libraries/tests.proj
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Transactions.Local\tests\System.Transactions.Local.Tests.csproj" />
</ItemGroup>

<!-- Projects that won't work when DotNetBuildFromSource. -->
<ItemGroup Condition="'$(DotNetBuildFromSource)' == 'true'">
<!-- Project targets an older target framework which does not get built. -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Numerics.Tensors\tests\Net8Tests\System.Numerics.Tensors.Net8.Tests.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(TargetArchitecture)' == 'ARMv6'">
<!-- https://github.com/dotnet/runtime/issues/64673 -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.Ping\tests\FunctionalTests\System.Net.Ping.Functional.Tests.csproj" />
Expand Down

0 comments on commit df05ddc

Please sign in to comment.