Skip to content
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

[nativeaot][ios] Improve Native AOT test coverage on apple mobile platforms #89301

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f105619
Enable TestLinqExpressions test
kotlarmilos Jul 21, 2023
807cb2b
Test maccatalyst job on Native AOT
kotlarmilos Jul 21, 2023
8eac5df
Test other smoke runtime tests on Native AOT
kotlarmilos Jul 21, 2023
994d711
Add entry point support for Native AOT runtime tests
kotlarmilos Jul 21, 2023
c7c79df
Merge branch 'dotnet:main' into improvement/nativeaot-smoke-tests
kotlarmilos Jul 21, 2023
f821a3f
Add missing quotations
kotlarmilos Jul 21, 2023
5acefa4
Fix app name to match the wrappers
kotlarmilos Jul 21, 2023
d31ba82
Enable runtime tests with a single entry point
kotlarmilos Jul 22, 2023
d4af827
Exclude tests with multiple entry points
kotlarmilos Jul 22, 2023
5027fb7
Exclude tests with multiple entry points
kotlarmilos Jul 22, 2023
e8acddb
Exclude exceptions test
kotlarmilos Jul 22, 2023
9b11448
Disable tests using issues.targets item group and remove maccatalyst …
kotlarmilos Jul 25, 2023
fdd2fc7
Merge branch 'dotnet:main' into improvement/nativeaot-smoke-tests
kotlarmilos Jul 25, 2023
61111c0
Add tracking issue for disabled tests
kotlarmilos Jul 25, 2023
ffab6dc
Enable more tests
kotlarmilos Jul 26, 2023
1b14030
Disable tests with CLRTestTargetUnsupported
kotlarmilos Jul 26, 2023
4b0d5c5
Disable tests with multiple entry points
kotlarmilos Jul 27, 2023
a275bd5
Enable more tests
kotlarmilos Jul 28, 2023
4e391d2
Merge branch 'dotnet:main' into improvement/nativeaot-smoke-tests
kotlarmilos Jul 28, 2023
5204a23
Test maccayalyst with Native AOT
kotlarmilos Aug 1, 2023
12bdc28
Disable failing test
kotlarmilos Aug 1, 2023
5cdc570
Merge branch 'improvement/nativeaot-smoke-tests' of github.com:kotlar…
kotlarmilos Aug 1, 2023
68a9585
Merge branch 'dotnet:main' into improvement/nativeaot-smoke-tests
kotlarmilos Aug 1, 2023
ca6816c
Remove maccatalyst tests
kotlarmilos Aug 1, 2023
fb4a29a
Merge branch 'improvement/nativeaot-smoke-tests' of github.com:kotlar…
kotlarmilos Aug 1, 2023
e7d26db
Add tracking issue for disabled tests
kotlarmilos Aug 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ jobs:
extraStepsTemplate: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml
extraStepsParameters:
creator: dotnet-bot
testBuildArgs: tree nativeaot/SmokeTests/UnitTests /p:BuildNativeAOTRuntimePack=true
testBuildArgs: tree nativeaot/SmokeTests /p:BuildNativeAOTRuntimePack=true
testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ jobs:
extraStepsTemplate: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml
extraStepsParameters:
creator: dotnet-bot
testBuildArgs: tree nativeaot/SmokeTests/UnitTests /p:BuildNativeAOTRuntimePack=true
testBuildArgs: tree nativeaot/SmokeTests /p:BuildNativeAOTRuntimePack=true
testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,42 @@ jobs:
creator: dotnet-bot
testRunNamePrefixSuffix: Mono_$(_BuildConfig)

#
# Build the whole product using Native AOT and run runtime tests
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
buildConfig: Release
runtimeFlavor: coreclr
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isMacCatalystOnlyBuild: ${{ parameters.isMacCatalystOnlyBuild }}
platforms:
- maccatalyst_x64
- maccatalyst_arm64
variables:
# map dependencies variables to local variables
- name: librariesContainsChange
value: $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]
- name: monoContainsChange
value: $[ dependencies.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]
jobParameters:
testGroup: innerloop
nameSuffix: AllSubsets_NativeAOT_RuntimeTests
buildArgs: --cross -s clr.alljits+clr.tools+clr.nativeaotruntime+clr.nativeaotlibs+libs -c $(_BuildConfig)
timeoutInMinutes: 180
# extra steps, run tests
extraVariablesTemplates:
- template: /eng/pipelines/common/templates/runtimes/test-variables.yml
parameters:
testGroup: innerloop
extraStepsTemplate: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml
extraStepsParameters:
creator: dotnet-bot
testBuildArgs: tree nativeaot/SmokeTests /p:BuildNativeAOTRuntimePack=true
testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)

#
# MacCatalyst interp - requires AOT Compilation and Interp flags
# Build the whole product using Mono and run libraries tests
Expand Down
7 changes: 1 addition & 6 deletions src/tests/nativeaot/SmokeTests/UnitTests/Delegates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ public static int Run()
result = Fail;
}

// ActiveIssue https://github.com/dotnet/runtime/issues/87924
if (!OperatingSystem.IsIOS() && !OperatingSystem.IsTvOS() && !OperatingSystem.IsMacCatalyst())
{
TestLinqExpressions.Run();
}

TestLinqExpressions.Run();
TestDefaultInterfaceMethods.Run();

return result;
Expand Down
Loading