-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid special casing work items in sendtohelixhelp.proj
#46156
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
@radical please note that For iOS and Android, we use the Helix SDK to take care of running XHarness. For iOS, we have something like For Android, we call XHarness directly in the Helix command: For WASM, I would suggest to go similar route and add support on Arcade level as well. |
Tagging subscribers to this area: @directhex Issue Details <ItemGroup Condition="'$(TargetOS)' == 'Browser'">
<!-- Create a work item for run-only WASM apps -->
<_RunOnlyWorkItem Include="$(TestArchiveRoot)runonly/**/*.zip" />
<HelixWorkItem Include="@(_RunOnlyWorkItem -> '%(FileName)')" >
<PayloadArchive>%(Identity)</PayloadArchive>
<!-- No RunTests script generated for the sample project so we just use the direct command -->
<Command>dotnet exec $XHARNESS_CLI_PATH wasm $XHARNESS_COMMAND --app=. --engine=V8 --engine-arg=--stack-trace-limit=1000 --js-file=runtime.js --output-directory=$XHARNESS_OUT -- --run WasmSample.dll</Command>
</HelixWorkItem>
</ItemGroup> Instead of this, we could try generating runtime/eng/testing/tests.targets Lines 51 to 52 in 93e767b
Based on @safern's comment #45768 (comment)
|
@premun yeah that's correct. However for iOS we should try to also binplace the sample app into runtime/src/libraries/sendtohelixhelp.proj Lines 181 to 203 in 03e4f5e
|
@safern As for iOS, could you point me to other way besides putting to separate directories to differentiate the sample from test apps in order to set a couple of specific properties? |
@radical I took a look and it seems like there were significant modifications to sendtohelix*(help/mobile/wasm).proj since this issue was first created. I'm not sure if I'm interpreting things correctly. It seems like this issue aims to remove hardcoded/special cased Is this still relevant, might be worth pushing to 8 if it isn't urgent. |
@mdh1418 I think we have reduced that quite a bit. But @premun's suggestion in #46156 (comment), we should probably still do that. But it's not urgent at all. Moving to Future milestone. |
Instead of this, we could try generating
RunTests.sh
which is done byruntime/eng/testing/tests.targets
Lines 51 to 52 in 93e767b
Based on @safern's comment #45768 (comment)
The text was updated successfully, but these errors were encountered: