-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[mono] Revive FullAOT test lanes #55362
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
dc84c8d
[mono] Revive Full AOT test lanes
imhameed 4fb7336
Dump some useful information to stdout
imhameed 188967e
Exclude tests from issues.targets
imhameed d63e788
Skip tests that fail AOT compilation; remove a redundant exclusion
imhameed 08dfa3d
FullAOT compile assemblies in CORE_ROOT
imhameed 00b6b57
Always set MONO_PATH when AOT compiling
imhameed 0773ed5
Exclude xunit.performance.api.dll from compilation, which I think is …
imhameed 9febc5c
Use --full-aot when running fullaot tests
imhameed 385fc36
fullaot compile other assemblies present in the test directories in a…
imhameed e41b605
Include the test assembly directory in MONO_PATH; should fix cross-co…
imhameed 6b1e761
Dump MONO_PATH for each assembly being compiled
imhameed f7dd6e3
Add failing tests to issues.targets
imhameed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,21 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| <Target Name="AotCompile"> | ||
| <PropertyGroup> | ||
| <TestAssemblyDir>$([System.IO.Path]::GetDirectoryName($(_TestDll)))</TestAssemblyDir> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <MonoEnvVar Condition="'$(_MonoPath)' != ''" Include="MONO_PATH=$(_MonoPath)" /> | ||
| <MonoPathItem Include="$(TestAssemblyDir)" /> | ||
| <MonoPathItem Include="$(_MonoPath)" Condition="'$(_MonoPath)' != ''" /> | ||
| </ItemGroup> | ||
| <PropertyGroup> | ||
| <MonoPath>@(MonoPathItem->'%(Identity)', ':')</MonoPath> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <MonoEnvVar Include="MONO_PATH=$(MonoPath)" /> | ||
| <MonoEnvVar Include="MONO_ENV_OPTIONS=--aot=$(_MonoAotOptions)" /> | ||
| </ItemGroup> | ||
| <Message Importance="High" Text="aot-compile: compiling $(_TestDll); MONO_PATH: $(MonoPath)" /> | ||
| <Exec Command="$(_AotCompiler) $(_TestDll)" EnvironmentVariables="@(MonoEnvVar)" /> | ||
| </Target> | ||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
You should include these in the runtime staging lanes to start with, and then upgrade once we have have reliable passing runs. @imhameed
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.
I expect that these lanes will be as reliable as the llvmaot lanes: the changes are self-contained and these don't depend on an unreliable pool of machines (like macOS or iOS). So I don't think this will need a "break-in period" in runtime-staging.
I'm not sure yet how long the lanes will take to run but I don't expect them to be worse than the existing llvmaot lanes.