xamarin-macios/tests/dotnet/UnitTests
Ivan Povazan 0eed6bd305
[release/9.0.1xx-preview7] Enable dedup only when targeting ARM64 mobile platforms (#20951)
## Description

Previous fix https://github.com/xamarin/xamarin-macios/pull/20941 did
not take into account that when we target non arm64 apple mobile
platforms we are using `MONO_AOT_MODE_INTERP_ONLY` which cannot use
dedup optimization as it discards AOT images during runtime (as noted
in: https://github.com/xamarin/xamarin-macios/pull/20945).

## Changes

- Enable dedup only when targeting ARM64
- Fix tests to cover builds for both ARM64 and X64 builds

Finally, the change was tested against MAUI iossimulator-x64 template
app
2024-07-30 07:14:34 -04:00
..
ApplePlatformExtensions.cs [dotnet] Stop using a separate default platform version. (#19754) 2024-01-09 09:47:07 +01:00
AssetsTest.cs [tests] Update .NET tests to cope with updated min OS version and no more 32-bit iOS support. (#17088) 2022-12-21 18:15:28 +01:00
BundleStructureTest.cs [net9.0] Merge main into net9.0. 2024-06-05 17:23:29 +02:00
DotNetUnitTests.csproj Get Mono.Cecil from NuGet everywhere. (#19535) 2023-12-04 20:15:03 +01:00
DotNetUnitTests.sln [dotnet] Add tests for our various platforms. (#8708) 2020-05-29 17:58:34 +02:00
Extensions.cs [Tests] Fix trim warnings tests (#20132) 2024-02-18 10:05:31 -05:00
ExtensionsTest.cs [tests] Enable nullability for numerous files in the .NET tests. (#16976) 2022-12-12 17:13:02 +01:00
GlobalImports.cs [tests] Add global imports to the .NET unit tests to simplify code. (#15770) 2022-08-26 13:40:12 +02:00
IncrementalBuildTest.cs [tests] Add missing check for available runtime identifiers in a few tests. (#18739) 2023-08-16 10:29:42 +02:00
Makefile [tests] Make the 'run-tests' and 'run-unit-tests' targets equivalent. (#20223) 2024-03-01 09:54:33 +01:00
MlaunchTest.cs [xcode15.3] Bump to Xcode 15.3 bindings (#20780) 2024-07-11 11:41:31 +02:00
PackTest.cs [tests] Skip framework-test on iOS and tvOS. (#20590) 2024-05-30 10:34:14 +02:00
PartialAppManifestTest.cs [tests] Fix a few nullability issues in cecil-tests and the .NET tests. (#17095) 2022-12-21 10:19:13 +01:00
PostBuildTest.cs [net9.0] Update dependencies from dotnet/sdk (#20621) 2024-06-25 13:49:44 +02:00
ProjectTest.cs [release/9.0.1xx-preview7] Enable dedup only when targeting ARM64 mobile platforms (#20951) 2024-07-30 07:14:34 -04:00
PublishTrimmedTest.cs [dotnet] Improve error message when someone tries to disable trimming by setting PublishTrimmed=false. (#17568) 2023-02-21 14:54:44 +01:00
RebuildTest.cs [msbuild] Re-aot referencing assemblies. Fixes #17708. (#18509) 2023-08-07 20:19:30 +02:00
RegistrarTest.cs [tests] Fix the InvalidStaticRegistrarValidation test to only run on x64. (#19782) 2024-01-15 17:10:30 +01:00
TemplateProjectTest.cs [tests] Enable nullability for numerous files in the .NET tests. (#16976) 2022-12-12 17:13:02 +01:00
TemplateTest.cs [tests] Update the .NET template tests. 2023-01-31 13:01:46 +01:00
TestBaseClass.cs [net9.0] Merge main into net9.0. 2024-07-08 18:45:06 +02:00
TrimmerWarningsTest.cs [net9.0] Update dependencies from dotnet/installer (#20343) 2024-04-12 18:14:21 +02:00
WindowsTest.cs [msbuild] Don't support RuntimeIdentifiers for Hot Restart. (#20750) 2024-07-01 19:26:57 +02:00
ZipHelpers.cs [tests] Run the BundleStructure test on Windows in remote mode. (#20045) 2024-04-17 16:21:37 +02:00