Skip to content

Commit f5777bb

Browse files
Disable net462 integration tests on non-windows os
1 parent 47bd6de commit f5777bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/BenchmarkDotNet.IntegrationTests/BenchmarkDotNet.IntegrationTests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<Import Project="..\..\build\common.props" />
33
<PropertyGroup>
44
<AssemblyTitle>BenchmarkDotNet.IntegrationTests</AssemblyTitle>
5-
<TargetFrameworks>net462;net7.0</TargetFrameworks>
5+
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net462;net7.0</TargetFrameworks>
6+
<TargetFramework Condition="'$(OS)' != 'Windows_NT'">net7.0</TargetFramework>
67
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
78
<AssemblyName>BenchmarkDotNet.IntegrationTests</AssemblyName>
89
<PackageId>BenchmarkDotNet.IntegrationTests</PackageId>

0 commit comments

Comments
 (0)