xamarin-macios/tests/linker/ios
Rolf Bjarne Kvinge 2a4eaea5a7
[tests] Enable tests for interfaces being linked away. Fixes #9566. (#16279)
Fixes https://github.com/xamarin/xamarin-macios/issues/9566.
2022-10-07 13:10:03 +02:00
..
dont link [tests] Remove ignore because corresponding bug has been fixed. (#15182) 2022-06-03 10:40:22 +02:00
link all [tests] Enable tests for interfaces being linked away. Fixes #9566. (#16279) 2022-10-07 13:10:03 +02:00
link sdk [tests] Improve detection of bad CI networks. (#15516) 2022-08-29 15:42:40 +02:00
trimmode copy/dotnet [tests] Use 'BundledNETCoreAppTargetFrameworkVersion' to specify the .NET version in the project files. (#14666) 2022-04-06 20:58:20 +02:00
trimmode link/dotnet [tests] Use 'BundledNETCoreAppTargetFrameworkVersion' to specify the .NET version in the project files. (#14666) 2022-04-06 20:58:20 +02:00
README.md [dotnet] Honor 'TrimMode' to specify linker behavior if LinkMode/MtouchLink aren't set. Fixes #13518. (#13543) 2021-12-15 09:27:00 +01:00

README.md

Linker Regression Tests

Most of our unit tests follow the default project configuration, which is "Don't Link" for simulator builds and "Link SDK" for device builds.

The linker tests are different as they set both simulator and device configuration to the same settings. This is the main way to test the linker on the simulator (which is the most common test configuration for our bots)

Note that the spaces in the projects directory names are by design as it ensure our tool chain can cope with them.

  • regression testing without using the linker

  • both simulator and devices are set to "Don't link"

  • regression testing using the linker on the all assemblies

  • "Link all assemblies" for both simulator/devices

  • regression testing using the linker on the SDK assemblies

  • "Link SDK assemblies only" for both simulator/devices

trimmode copy

  • regression testing without using the linker
  • .NET only - select to not use the linker by using the TrimMode property
  • otherwise identical to the "dont link" test
  • regression testing by using the linker on those assemblies that opt in to being trimmed
  • .NET only - select the linker mode by using the TrimMode property
  • otherwise identical to the "link sdk" test