Skip to content

Commit

Permalink
Tests build fix with BuildAsStandalone (#94208)
Browse files Browse the repository at this point in the history
Without this patch build of these tests fails with "No entry point declared for executable" with BuildAsStandalone.
Before #91560 they were built as OutputType=Library and these are actually not launched during testing, but are used as libs.
  • Loading branch information
gbalykov committed Nov 1, 2023
1 parent 03c30a7 commit 194fc5f
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tests/baseservices/callconvs/CallFunctionPointers.ilproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="CallFunctionPointers.il" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="StringThrower.il" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="moduleCctor.il" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/tests/baseservices/exceptions/simple/ILHelper.ilproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<CLRTestPriority>1</CLRTestPriority>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="ILHelper.il" />
Expand Down
1 change: 1 addition & 0 deletions src/tests/baseservices/exceptions/simple/VT.ilproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<CLRTestPriority>1</CLRTestPriority>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="VT.il" />
Expand Down
3 changes: 3 additions & 0 deletions src/tests/baseservices/typeequivalence/impl/PunningLib.ilproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="PunningLib.il" />
<ProjectReference Include="TypeImpl.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="basetestclassesil.il" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="testclassesil.il" />
</ItemGroup>
Expand Down

0 comments on commit 194fc5f

Please sign in to comment.