-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Split NativeAOT tests to use separate merged runners #120949
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
Draft
jkoritzinsky
wants to merge
17
commits into
dotnet:main
Choose a base branch
from
jkoritzinsky:naot-merged-runner-ios
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
a537d75
Set up a few of the nativeaot tests to run as their own "merged runne…
jkoritzinsky 120f782
NativeAOT-specific ComWrappers test is no longer interesting after we…
jkoritzinsky 401d847
Expand the "each test is a merged test runner" pattern to the rest of…
jkoritzinsky d52a643
Add a temporary check to ensure that we don't use the old model for a…
jkoritzinsky 1de0ccf
Don't pass MainLibraryFileName property for NativeAOT
kotlarmilos 8d28f46
Remove MainLibraryFileName property for NativeAOT support
kotlarmilos 88e3e5a
Merge branch 'main' into naot-merged-runner-ios
kotlarmilos 24ac61a
Update MainLibraryFileName property for NativeAOT
kotlarmilos 35df246
Merge branch 'naot-merged-runner-ios' of https://github.com/jkoritzin…
kotlarmilos 90e06bb
Add support for stress test merged assembly markers in build.proj
kotlarmilos 0c5232f
Add support for stress test merged assembly markers in helixpublishwi…
kotlarmilos dbfd4fb
Merge branch 'main' into naot-merged-runner-ios
kotlarmilos 0ffd6f3
Update merged payload file path
kotlarmilos 9d31812
Merge branch 'naot-merged-runner-ios' of https://github.com/jkoritzin…
kotlarmilos fe64e02
Test regex for patching the payload path
kotlarmilos f0159fb
Fix XCodeSdk condition for iOS target to use 'iphoneos'
kotlarmilos f095e6b
Set --expected-exit-code prop
kotlarmilos 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
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 |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| <!-- | ||
| Treat these tests as merged test runners. | ||
| Many of these NativeAOT tests need to be their own executables to validate specific features, | ||
| but we want to run them on mobile platforms as well. | ||
| However, mobile platforms don't support tests that require process isolation, so we can't use RequiresProcessIsolation. | ||
| Instead, we treat these tests as merged test runners themselves, so that they can run on mobile platforms. | ||
| --> | ||
| <Import Condition="'$(CLRTestKind)' != 'SharedLibrary'" Project="$(TestSourceDir)MergedTestRunner.targets" /> | ||
|
|
||
| <!-- SDK Style projects auto-magically include this file. --> | ||
| <Import Project="..\Directory.Build.targets" /> | ||
| </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
1 change: 1 addition & 0 deletions
1
...sts/nativeaot/GenerateUnmanagedEntryPoints/ReferencedAssembly1/ReferencedAssembly1.csproj
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
1 change: 1 addition & 0 deletions
1
...sts/nativeaot/GenerateUnmanagedEntryPoints/ReferencedAssembly2/ReferencedAssembly2.csproj
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
@jkoritzinsky Do you know why the NAOT tests are using MergedTestAssemblyForStress instead of MergedTestAssembly?
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'm not sure why they're using the stress mode. However, including the marker files here is correct.