2020-08-06 12:51:36 +00:00
|
|
|
<Project Sdk="Microsoft.DotNet.Helix.Sdk" DefaultTargets="Test">
|
|
|
|
|
2020-08-28 21:35:06 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<HelixCorrelationPayload Include="$(CorrelationPayloadDirectory)">
|
|
|
|
<PayloadDirectory>%(Identity)</PayloadDirectory>
|
|
|
|
</HelixCorrelationPayload>
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Crossgen and Crossgen2 Scenario WorkItems
|
|
|
|
-->
|
2020-08-06 12:51:36 +00:00
|
|
|
<PropertyGroup Condition="'$(AGENT_OS)' == 'Windows_NT'">
|
|
|
|
<Python>py -3</Python>
|
2020-08-28 21:35:06 +00:00
|
|
|
<HelixPreCommands>$(HelixPreCommands)</HelixPreCommands>
|
|
|
|
<CoreRoot>%HELIX_CORRELATION_PAYLOAD%\Core_Root</CoreRoot>
|
|
|
|
<ScenarioDirectory>%HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\</ScenarioDirectory>
|
|
|
|
<CrossgenDirectory>$(ScenarioDirectory)crossgen\</CrossgenDirectory>
|
|
|
|
<Crossgen2Directory>$(ScenarioDirectory)crossgen2\</Crossgen2Directory>
|
2020-08-06 12:51:36 +00:00
|
|
|
</PropertyGroup>
|
2020-08-28 21:35:06 +00:00
|
|
|
<PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'">
|
2020-08-06 12:51:36 +00:00
|
|
|
<Python>python3</Python>
|
2020-08-28 21:35:06 +00:00
|
|
|
<HelixPreCommands>$(HelixPreCommands);chmod +x $HELIX_WORKITEM_PAYLOAD/startup/Startup;chmod +x $HELIX_WORKITEM_PAYLOAD/startup/perfcollect;sudo apt update</HelixPreCommands>
|
|
|
|
<CoreRoot>$HELIX_CORRELATION_PAYLOAD/Core_Root</CoreRoot>
|
|
|
|
<ScenarioDirectory>$HELIX_CORRELATION_PAYLOAD/performance/src/scenarios/</ScenarioDirectory>
|
|
|
|
<CrossgenDirectory>$(ScenarioDirectory)crossgen/</CrossgenDirectory>
|
|
|
|
<Crossgen2Directory>$(ScenarioDirectory)crossgen2/</Crossgen2Directory>
|
|
|
|
</PropertyGroup>
|
2020-08-06 12:51:36 +00:00
|
|
|
|
|
|
|
<ItemGroup>
|
2020-08-28 21:35:06 +00:00
|
|
|
<SingleAssembly Include="System.Private.Xml.dll"/>
|
|
|
|
<SingleAssembly Include="System.Linq.Expressions.dll"/>
|
|
|
|
<SingleAssembly Include="Microsoft.CodeAnalysis.VisualBasic.dll"/>
|
|
|
|
<SingleAssembly Include="Microsoft.CodeAnalysis.CSharp.dll"/>
|
|
|
|
<SingleAssembly Include="System.Private.CoreLib.dll"/>
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<Composite Include="framework-r2r.dll.rsp"/>
|
2020-08-06 12:51:36 +00:00
|
|
|
</ItemGroup>
|
|
|
|
|
2020-08-28 21:35:06 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<CrossgenWorkItem Include="@(SingleAssembly)">
|
|
|
|
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
|
|
|
|
<Command>$(Python) $(CrossgenDirectory)test.py crossgen --core-root $(CoreRoot) --test-name %(Identity)</Command>
|
|
|
|
</CrossgenWorkItem>
|
2020-08-06 12:51:36 +00:00
|
|
|
</ItemGroup>
|
|
|
|
|
2020-08-28 21:35:06 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<Crossgen2WorkItem Include="@(SingleAssembly)">
|
|
|
|
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
|
|
|
|
<Command>$(Python) $(Crossgen2Directory)test.py crossgen2 --core-root $(CoreRoot) --single %(Identity)</Command>
|
|
|
|
</Crossgen2WorkItem>
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<!-- Enable crossgen tests on Windows x64 and Windows x86 -->
|
|
|
|
<HelixWorkItem Include="@(CrossgenWorkItem -> 'Crossgen %(Identity)')" Condition="'$(AGENT_OS)' == 'Windows_NT'">
|
|
|
|
<Timeout>4:00</Timeout>
|
2020-08-06 12:51:36 +00:00
|
|
|
</HelixWorkItem>
|
2020-08-28 21:35:06 +00:00
|
|
|
<!-- Enable crossgen2 tests on Windows x64 and Linux x64 -->
|
|
|
|
<HelixWorkItem Include="@(Crossgen2WorkItem -> 'Crossgen2 %(Identity)')" Condition="'$(Architecture)' == 'x64'">
|
|
|
|
<Timeout>4:00</Timeout>
|
2020-08-06 12:51:36 +00:00
|
|
|
</HelixWorkItem>
|
2020-08-28 21:35:06 +00:00
|
|
|
<HelixWorkItem Include="Crossgen2 Composite Framework R2R" Condition="'$(Architecture)' == 'x64'">
|
|
|
|
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
|
|
|
|
<Command>$(Python) $(Crossgen2Directory)test.py crossgen2 --core-root $(CoreRoot) --composite $(Crossgen2Directory)framework-r2r.dll.rsp</Command>
|
2020-08-06 12:51:36 +00:00
|
|
|
<Timeout>1:00</Timeout>
|
|
|
|
</HelixWorkItem>
|
|
|
|
</ItemGroup>
|
|
|
|
</Project>
|