Compare commits
3 Commits
main
...
darc-main-
| Author | SHA1 | Date |
|---|---|---|
|
|
96b5780993 | 6 years ago |
|
|
f200627e0d | 6 years ago |
|
|
21aa991956 | 6 years ago |
4 changed files with 57 additions and 12 deletions
@ -0,0 +1,34 @@ |
|||
<Project Sdk="Microsoft.DotNet.Helix.Sdk" DefaultTargets="Test"> |
|||
<PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'"> |
|||
<Python>python3</Python> |
|||
<HelixPreCommands>$(HelixPreCommands);chmod +x $HELIX_WORKITEM_PAYLOAD/SOD/SizeOnDisk</HelixPreCommands> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<HelixCorrelationPayload Include="$(CorrelationPayloadDirectory)"> |
|||
<PayloadDirectory>%(Identity)</PayloadDirectory> |
|||
</HelixCorrelationPayload> |
|||
</ItemGroup> |
|||
|
|||
<PropertyGroup Condition="'$(AGENT_OS)' == 'Windows_NT'"> |
|||
<ScenarioDirectory>%HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\</ScenarioDirectory> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'"> |
|||
<ScenarioDirectory>$HELIX_CORRELATION_PAYLOAD/performance/src/scenarios/</ScenarioDirectory> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<HelixWorkItem Include="SOD - Android HelloWorld APK Size"> |
|||
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
|||
<PreCommands>cd $(ScenarioDirectory)helloandroid;copy %HELIX_CORRELATION_PAYLOAD%\HelloAndroid.apk .;$(Python) pre.py</PreCommands> |
|||
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
|||
<PostCommands>$(Python) post.py</PostCommands> |
|||
</HelixWorkItem> |
|||
<HelixWorkItem Include="SOD - Android HelloWorld Extracted Size"> |
|||
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
|||
<PreCommands>cd $(ScenarioDirectory)helloandroid;copy %HELIX_CORRELATION_PAYLOAD%\HelloAndroid.apk .;$(Python) pre.py --unzip</PreCommands> |
|||
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
|||
<PostCommands>$(Python) post.py</PostCommands> |
|||
</HelixWorkItem> |
|||
</ItemGroup> |
|||
</Project> |
|||
Loading…
Reference in new issue