|
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 - iOS HelloWorld Mono Zip Size $(LlvmPath)"> |
38 | 38 | <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
|
84 | 84 | <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
85 | 85 | <PostCommands>$(Python) post.py</PostCommands> |
86 | 86 | </HelixWorkItem> |
| 87 | + <HelixWorkItem Include="SOD - Maui Blazor iOS IPA Size" Condition="'$(iOSLlvmBuild)' == 'False'"> |
| 88 | + <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
| 89 | + <PreCommands>cd $(ScenarioDirectory)mauiblazorios;cp $HELIX_CORRELATION_PAYLOAD/MauiBlazoriOSDefault.ipa .;$(Python) pre.py --name MauiBlazoriOSDefault.ipa</PreCommands> |
| 90 | + <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
| 91 | + <PostCommands>$(Python) post.py</PostCommands> |
| 92 | + </HelixWorkItem> |
| 93 | + <HelixWorkItem Include="SOD - Maui Blazor iOS IPA Size Unzipped" Condition="'$(iOSLlvmBuild)' == 'False'"> |
| 94 | + <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
| 95 | + <PreCommands>cd $(ScenarioDirectory)mauiblazorios;cp $HELIX_CORRELATION_PAYLOAD/MauiBlazoriOSDefault.ipa .;$(Python) pre.py --unzip --name MauiBlazoriOSDefault.ipa</PreCommands> |
| 96 | + <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
| 97 | + <PostCommands>$(Python) post.py</PostCommands> |
| 98 | + </HelixWorkItem> |
| 99 | + <HelixWorkItem Include="SOD - Maui Blazor MacCatalyst .app Size" Condition="'$(iOSLlvmBuild)' == 'False'"> |
| 100 | + <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
| 101 | + <PreCommands>cd $(ScenarioDirectory)mauiblazorios;cp -rf $HELIX_CORRELATION_PAYLOAD/MauiBlazorMacCatalystDefault ./app;$(Python) pre.py --name app</PreCommands> |
| 102 | + <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
| 103 | + <PostCommands>$(Python) post.py</PostCommands> |
| 104 | + </HelixWorkItem> |
87 | 105 | <HelixWorkItem Include="SOD - Maui iOS Podcast IPA Size" Condition="'$(iOSLlvmBuild)' == 'False'"> |
88 | 106 | <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
89 | 107 | <PreCommands>cd $(ScenarioDirectory)mauiios;cp $HELIX_CORRELATION_PAYLOAD/MauiiOSPodcast.ipa .;$(Python) pre.py --name MauiiOSPodcast.ipa</PreCommands> |
|
96 | 114 | <Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command> |
97 | 115 | <PostCommands>$(Python) post.py</PostCommands> |
98 | 116 | </HelixWorkItem> |
99 | | - <XHarnessAppBundleToTest Include="Device Startup - iOS Maui Default" Condition="'$(iOSLlvmBuild)' == 'False'"> |
100 | | - <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
101 | | - <WorkItemTimeout>00:15:00</WorkItemTimeout> |
102 | | - <TestTarget>ios-device</TestTarget> |
103 | | - <CustomCommands> |
104 | | - <![CDATA[ |
| 117 | + <XHarnessAppBundleToTest Include="Device Startup - iOS Maui Default" Condition="'$(iOSLlvmBuild)' == 'False'"> |
| 118 | + <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
| 119 | + <WorkItemTimeout>00:15:00</WorkItemTimeout> |
| 120 | + <TestTarget>ios-device</TestTarget> |
| 121 | + <CustomCommands> |
| 122 | + <![CDATA[ |
| 123 | + # PreCommands |
| 124 | + export XHARNESSPATH=$XHARNESS_CLI_PATH |
| 125 | +
|
| 126 | + cp -r $HELIX_CORRELATION_PAYLOAD/MauiTesting.app $(ScenarioDirectory)mauiios/MauiTesting.app |
| 127 | + cp -f embedded.mobileprovision $(ScenarioDirectory)mauiios/MauiTesting.app |
| 128 | + cd $(ScenarioDirectory)mauiios |
| 129 | + sign MauiTesting.app |
| 130 | +
|
| 131 | + $(Python) pre.py --name MauiTesting.app |
| 132 | +
|
| 133 | + # Testing commands |
| 134 | + $(Python) test.py devicestartup --device-type ios --package-path MauiTesting.app --package-name net.dot.mauitesting --scenario-name "%(Identity)" |
| 135 | + ((result=$?)) |
| 136 | +
|
| 137 | + # Post commands |
| 138 | + $(Python) post.py |
| 139 | + exit $result |
| 140 | + ]]> |
| 141 | + </CustomCommands> |
| 142 | + </XHarnessAppBundleToTest> |
| 143 | + <XHarnessAppBundleToTest Include="Device Startup - iOS Maui Blazor Default" Condition="'$(iOSLlvmBuild)' == 'False'"> |
| 144 | + <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
| 145 | + <WorkItemTimeout>00:15:00</WorkItemTimeout> |
| 146 | + <TestTarget>ios-device</TestTarget> |
| 147 | + <CustomCommands> |
| 148 | + <![CDATA[ |
105 | 149 | # PreCommands |
106 | 150 | export XHARNESSPATH=$XHARNESS_CLI_PATH |
107 | 151 |
|
108 | | - cp -r $HELIX_CORRELATION_PAYLOAD/MauiTesting.app $(ScenarioDirectory)mauiios/MauiTesting.app |
109 | | - cp -f embedded.mobileprovision $(ScenarioDirectory)mauiios/MauiTesting.app |
110 | | - cd $(ScenarioDirectory)mauiios |
111 | | - sign MauiTesting.app |
| 152 | + cp -r $HELIX_CORRELATION_PAYLOAD/MauiBlazorTesting.app $(ScenarioDirectory)mauiblazorios/MauiBlazorTesting.app |
| 153 | + cp -f embedded.mobileprovision $(ScenarioDirectory)mauiblazorios/MauiBlazorTesting.app |
| 154 | + cd $(ScenarioDirectory)mauiblazorios |
| 155 | + sign MauiBlazorTesting.app |
112 | 156 |
|
113 | | - $(Python) pre.py --name MauiTesting.app |
| 157 | + $(Python) pre.py --name MauiBlazorTesting.app |
114 | 158 |
|
115 | 159 | # Testing commands |
116 | | - $(Python) test.py devicestartup --device-type ios --package-path MauiTesting.app --package-name net.dot.mauitesting --scenario-name "%(Identity)" |
117 | | - ((result=$?)) |
118 | | - |
| 160 | + $(Python) test.py devicestartup --device-type ios --package-path MauiBlazorTesting.app --package-name net.dot.mauiblazortesting --scenario-name "%(Identity)" --use-fully-drawn-time --fully-drawn-magic-string __MAUI_Blazor_WebView_OnAfterRender__ --startup-iterations 7 |
| 161 | +
|
119 | 162 | # Post commands |
120 | 163 | $(Python) post.py |
121 | 164 | exit $result |
122 | 165 | ]]> |
123 | | - </CustomCommands> |
124 | | - </XHarnessAppBundleToTest> |
| 166 | + </CustomCommands> |
| 167 | + </XHarnessAppBundleToTest> |
125 | 168 | <XHarnessAppBundleToTest Include="Device Startup - iOS Maui Podcast" Condition="'$(iOSLlvmBuild)' == 'False'"> |
126 | | - <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
127 | | - <WorkItemTimeout>00:15:00</WorkItemTimeout> |
128 | | - <TestTarget>ios-device</TestTarget> |
129 | | - <CustomCommands> |
130 | | - <![CDATA[ |
| 169 | + <AppBundlePath>$(WorkItemDirectory).zip</AppBundlePath> |
| 170 | + <WorkItemTimeout>00:15:00</WorkItemTimeout> |
| 171 | + <TestTarget>ios-device</TestTarget> |
| 172 | + <CustomCommands> |
| 173 | + <![CDATA[ |
131 | 174 | # PreCommands |
132 | 175 | export XHARNESSPATH=$XHARNESS_CLI_PATH |
133 | 176 |
|
|
146 | 189 | $(Python) post.py |
147 | 190 | exit $result |
148 | 191 | ]]> |
149 | | - </CustomCommands> |
150 | | - </XHarnessAppBundleToTest> |
| 192 | + </CustomCommands> |
| 193 | + </XHarnessAppBundleToTest> |
151 | 194 | </ItemGroup> |
152 | 195 | <!-- |
153 | 196 | This target is to work around the XHarness command that depend on scripts in ORIGPYPATH |
|
0 commit comments