xamarin-macios/tests/linker/ios
Simon Rozsival 7a45bad062 Update test 2023-11-24 14:51:40 +01:00
..
dont link Add the .NET TFM as a constant to the generated SdkVersions.cs from our Makefile variables. (#19401) 2023-11-08 13:36:50 +01:00
link all Update test 2023-11-24 14:51:40 +01:00
link sdk [Linker] Fix regression tests for xcode 15. 2023-08-04 11:47:29 -04:00
trimmode copy/dotnet Add the .NET TFM as a constant to the generated SdkVersions.cs from our Makefile variables. (#19401) 2023-11-08 13:36:50 +01:00
trimmode link/dotnet Add the .NET TFM as a constant to the generated SdkVersions.cs from our Makefile variables. (#19401) 2023-11-08 13:36:50 +01: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