|
18 | 18 | <LlvmPath>nollvm</LlvmPath> |
19 | 19 | <LlvmPath Condition="'$(iOSLlvmBuild)' == 'True'">llvm</LlvmPath> |
20 | 20 | </PropertyGroup> |
21 | | - |
| 21 | + |
22 | 22 | <PropertyGroup Condition="'$(AGENT_OS)' == 'Windows_NT'"> |
23 | 23 | <ScenarioDirectory>%HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\</ScenarioDirectory> |
24 | | - |
| 24 | + |
25 | 25 | </PropertyGroup> |
26 | 26 | <PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'"> |
27 | 27 | <ScenarioDirectory>$HELIX_CORRELATION_PAYLOAD/performance/src/scenarios/</ScenarioDirectory> |
28 | 28 | </PropertyGroup> |
29 | 29 |
|
30 | 30 | <ItemGroup> |
31 | 31 | <HelixWorkItem Include="SOD - iOS HelloWorld .app Size"> |
32 | | - <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
33 | | - <PreCommands>cd $(ScenarioDirectory)helloios;cp -rf $HELIX_CORRELATION_PAYLOAD/iosHelloWorld/$(LlvmPath) ./app;$(Python) pre.py --name app</PreCommands> |
34 | | - <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
35 | | - <PostCommands>$(Python) post.py</PostCommands> |
| 32 | + <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
| 33 | + <PreCommands>cd $(ScenarioDirectory)helloios;cp -rf $HELIX_CORRELATION_PAYLOAD/iosHelloWorld/$(LlvmPath) ./app;$(Python) pre.py --name app</PreCommands> |
| 34 | + <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
| 35 | + <PostCommands>$(Python) post.py</PostCommands> |
36 | 36 | </HelixWorkItem> |
37 | 37 | <HelixWorkItem Include="SOD - Maui MacCatalyst .app Size" Condition="'$(iOSLlvmBuild)' == 'False'"> |
38 | 38 | <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
|
54 | 54 | </HelixWorkItem> |
55 | 55 | <HelixWorkItem Include="SOD - Maui Blazor iOS IPA Size" Condition="'$(iOSLlvmBuild)' == 'False'"> |
56 | 56 | <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
57 | | - <PreCommands>cd $(ScenarioDirectory)mauiblazorios;copy %HELIX_CORRELATION_PAYLOAD%\MauiBlazoriOSDefaultIPA\MauiBlazoriOSDefault.ipa .;$(Python) pre.py --name MauiBlazoriOSDefault.ipa</PreCommands> |
| 57 | + <PreCommands>cd $(ScenarioDirectory)mauiblazorios;cp $HELIX_CORRELATION_PAYLOAD/MauiBlazoriOSDefault.ipa .;$(Python) pre.py --name MauiBlazoriOSDefault.ipa</PreCommands> |
58 | 58 | <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
59 | 59 | <PostCommands>$(Python) post.py</PostCommands> |
60 | 60 | </HelixWorkItem> |
61 | 61 | <HelixWorkItem Include="SOD - Maui Blazor iOS IPA Size Unzipped" Condition="'$(iOSLlvmBuild)' == 'False'"> |
62 | 62 | <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
63 | | - <PreCommands>cd $(ScenarioDirectory)mauiblazorios;copy %HELIX_CORRELATION_PAYLOAD%\MauiBlazoriOSDefaultIPA\MauiBlazoriOSDefault.ipa .;$(Python) pre.py --unzip --name MauiBlazoriOSDefault.ipa</PreCommands> |
| 63 | + <PreCommands>cd $(ScenarioDirectory)mauiblazorios;cp $HELIX_CORRELATION_PAYLOAD/MauiBlazoriOSDefault.ipa .;$(Python) pre.py --unzip --name MauiBlazoriOSDefault.ipa</PreCommands> |
64 | 64 | <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
65 | 65 | <PostCommands>$(Python) post.py</PostCommands> |
66 | 66 | </HelixWorkItem> |
67 | 67 | <HelixWorkItem Include="SOD - Maui Blazor MacCatalyst .app Size" Condition="'$(iOSLlvmBuild)' == 'False'"> |
68 | 68 | <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
69 | | - <PreCommands>cd $(ScenarioDirectory)mauiblazorios;xcopy %HELIX_CORRELATION_PAYLOAD%\MauiBlazorMacCatalystDefault .\app/e/i;$(Python) pre.py --name app</PreCommands> |
| 69 | + <PreCommands>cd $(ScenarioDirectory)mauiblazorios;cp -rf $HELIX_CORRELATION_PAYLOAD/MauiBlazorMacCatalystDefault ./app;$(Python) pre.py --name app</PreCommands> |
70 | 70 | <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
71 | 71 | <PostCommands>$(Python) post.py</PostCommands> |
72 | 72 | </HelixWorkItem> |
|
82 | 82 | <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
83 | 83 | <PostCommands>$(Python) post.py</PostCommands> |
84 | 84 | </HelixWorkItem> |
85 | | - <XHarnessAppBundleToTest Include="Device Startup - iOS Maui Default" Condition="'$(iOSLlvmBuild)' == 'False'"> |
86 | | - <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
87 | | - <WorkItemTimeout>00:05:00</WorkItemTimeout> |
88 | | - <TestTarget>ios-device</TestTarget> |
89 | | - <CustomCommands> |
90 | | - <![CDATA[ |
| 85 | + <XHarnessAppBundleToTest Include="Device Startup - iOS Maui Default" Condition="'$(iOSLlvmBuild)' == 'False'"> |
| 86 | + <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
| 87 | + <WorkItemTimeout>00:05:00</WorkItemTimeout> |
| 88 | + <TestTarget>ios-device</TestTarget> |
| 89 | + <CustomCommands> |
| 90 | + <![CDATA[ |
91 | 91 | # PreCommands |
92 | 92 | export XHARNESSPATH=$XHARNESS_CLI_PATH |
93 | 93 |
|
|
102 | 102 | $(Python) test.py devicestartup --device-type ios --package-path MauiTesting.app --package-name net.dot.mauitesting --scenario-name "%(Identity)" |
103 | 103 |
|
104 | 104 | # Post commands |
105 | | - $(Python) post.py |
| 105 | + $(Python) post.py |
| 106 | + ]]> |
| 107 | + </CustomCommands> |
| 108 | + </XHarnessAppBundleToTest> |
| 109 | + <XHarnessAppBundleToTest Include="Device Startup - iOS Maui Blazor Default" Condition="'$(iOSLlvmBuild)' == 'False'"> |
| 110 | + <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
| 111 | + <WorkItemTimeout>00:05:00</WorkItemTimeout> |
| 112 | + <TestTarget>ios-device</TestTarget> |
| 113 | + <CustomCommands> |
| 114 | + <![CDATA[ |
| 115 | + # PreCommands |
| 116 | + export XHARNESSPATH=$XHARNESS_CLI_PATH |
| 117 | +
|
| 118 | + cp -r $HELIX_CORRELATION_PAYLOAD/MauiBlazorTesting.app $(ScenarioDirectory)mauiblazorios/MauiBlazorTesting.app |
| 119 | + cp -f embedded.mobileprovision $(ScenarioDirectory)mauiblazorios/MauiBlazorTesting.app |
| 120 | + cd $(ScenarioDirectory)mauiblazorios |
| 121 | + sign MauiBlazorTesting.app |
| 122 | +
|
| 123 | + $(Python) pre.py --name MauiBlazorTesting.app |
| 124 | +
|
| 125 | + # Testing commands |
| 126 | + $(Python) test.py devicestartup --device-type ios --package-path MauiBlazorTesting.app --package-name net.dot.mauiblazortesting --scenario-name "%(Identity)" |
| 127 | +
|
| 128 | + # Post commands |
| 129 | + $(Python) post.py |
106 | 130 | ]]> |
107 | | - </CustomCommands> |
108 | | - </XHarnessAppBundleToTest> |
| 131 | + </CustomCommands> |
| 132 | + </XHarnessAppBundleToTest> |
109 | 133 | <XHarnessAppBundleToTest Include="Device Startup - iOS Maui Podcast" Condition="'$(iOSLlvmBuild)' == 'False'"> |
110 | | - <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
111 | | - <WorkItemTimeout>00:05:00</WorkItemTimeout> |
112 | | - <TestTarget>ios-device</TestTarget> |
113 | | - <CustomCommands> |
114 | | - <![CDATA[ |
| 134 | + <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
| 135 | + <WorkItemTimeout>00:05:00</WorkItemTimeout> |
| 136 | + <TestTarget>ios-device</TestTarget> |
| 137 | + <CustomCommands> |
| 138 | + <![CDATA[ |
115 | 139 | # PreCommands |
116 | 140 | export XHARNESSPATH=$XHARNESS_CLI_PATH |
117 | 141 |
|
|
126 | 150 | $(Python) test.py devicestartup --device-type ios --package-path Microsoft.NetConf2021.Maui.app --package-name net.dot.netconf2021.maui --scenario-name "%(Identity)" |
127 | 151 |
|
128 | 152 | # Post commands |
129 | | - $(Python) post.py |
| 153 | + $(Python) post.py |
130 | 154 | ]]> |
131 | | - </CustomCommands> |
132 | | - </XHarnessAppBundleToTest> |
| 155 | + </CustomCommands> |
| 156 | + </XHarnessAppBundleToTest> |
133 | 157 | </ItemGroup> |
134 | 158 | </Project> |
0 commit comments