Skip to content

Commit 1b6cf9f

Browse files
authored
Apparently the unit test dll's don't use fsharptest.directory.props (#7115)
1 parent 92e4a52 commit 1b6cf9f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

FSharpBuild.Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@
9393
<GenerateDocumentationFile>true</GenerateDocumentationFile>
9494
</PropertyGroup>
9595

96+
<PropertyGroup Condition="'$(OS)' == 'Unix'">
97+
<DefineConstants>$(DefineConstants);TESTING_ON_LINUX</DefineConstants>
98+
</PropertyGroup>
99+
96100
<!-- SDK targets override -->
97101
<PropertyGroup Condition="'$(Configuration)' != 'Proto' AND '$(DisableCompilerRedirection)'!='true' AND Exists('$(ProtoOutputPath)')">
98102
<FSharpTargetsPath>$(ProtoOutputPath)\fsc\Microsoft.FSharp.Targets</FSharpTargetsPath>

FSharpTests.Directory.Build.props

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
<DotnetFsiCompilerPath></DotnetFsiCompilerPath>
1717
</PropertyGroup>
1818

19-
<PropertyGroup Condition="'$(OS)' == 'Unix'">
20-
<DefineConstants>($(DefineConstants);TESTING_ON_LINUX</DefineConstants>
21-
</PropertyGroup>
22-
2319
<PropertyGroup Condition="'$(FSharpTestCompilerVersion)' == 'coreclr'">
2420
<DisableAutoSetFscCompilerPath>true</DisableAutoSetFscCompilerPath>
2521

0 commit comments

Comments
 (0)