-
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
#46315
Changes from 3 commits
0c122fe
e9d4bf4
e81753c
28e3845
53c4106
63ee6f5
8c2e06e
8d1ed63
0c9f2a0
e0a4083
d0bb122
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -15,6 +15,7 @@ | |||
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier> | ||||
<RunAOTCompilation Condition="'$(RunAOTCompilation)' == ''">false</RunAOTCompilation> | ||||
<RunAnalyzers>false</RunAnalyzers> | ||||
<JSEngine>V8</JSEngine> | ||||
</PropertyGroup> | ||||
|
||||
<PropertyGroup Condition="'$(Configuration)' != 'Debug'"> | ||||
|
@@ -53,6 +54,19 @@ | |||
<Compile Include="Program.cs" /> | ||||
</ItemGroup> | ||||
|
||||
<Target Name="PrepareRunScript" BeforeTargets="CopySampleAppToHelixTestDir" Condition="'$(ArchiveTests)' == 'true'" > | ||||
<PropertyGroup> | ||||
<RunScriptCommand> | ||||
$HARNESS_RUNNER wasm $XHARNESS_COMMAND --app=. --engine=$(JSEngine) $(JSEngineArgs) --js-file=runtime.js --output-directory=$XHARNESS_OUT -- $(RunTestsJSArguments) --run $(AssemblyName).dll | ||||
</RunScriptCommand> | ||||
</PropertyGroup> | ||||
|
||||
<MSBuild Projects ="$(RepoRoot)eng/testing/tests.targets" | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not import the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the "tests.targets" file is imported into the project, there will be such error during build: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see... what you could do is remove the
|
||||
Condition="'$(ArchiveTests)' == 'true'" | ||||
Properties="OutDir=$(AppBundleDir);RunScriptInputPath=$(RepoRoot)eng/testing/WasmRunnerTemplate.sh;InstallerTasksAssemblyPath=$(RepoRoot)artifacts/obj/installer.tasks/Debug/netstandard2.0/installer.tasks.dll;RunScriptCommand=$(RunScriptCommand)" | ||||
Targets="GenerateRunScript" /> | ||||
</Target> | ||||
|
||||
<Target Name="CopySampleAppToHelixTestDir" | ||||
Condition="'$(ArchiveTests)' == 'true'" | ||||
AfterTargets="Build" | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can do the same as we did for the console sample, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'll push that one up too.