xamarin-macios/tests/linker/ios
Rolf Bjarne Kvinge e369f466f7
[dotnet] Rename the DOTNET6 make variable to DOTNET. (#14441)
This is the follow-up to where the DOTNET variable was renamed SYSTEM_DOTNET.
2022-03-21 15:56:57 +01:00
..
dont link [dotnet] Rename the DOTNET6 make variable to DOTNET. (#14441) 2022-03-21 15:56:57 +01:00
link all [dotnet] Rename the DOTNET6 make variable to DOTNET. (#14441) 2022-03-21 15:56:57 +01:00
link sdk [dotnet] Rename the DOTNET6 make variable to DOTNET. (#14441) 2022-03-21 15:56:57 +01:00
trimmode copy/dotnet [tests] Add helpful makefiles for a few test suites. (#13677) 2022-01-12 11:39:06 +01:00
trimmode link/dotnet [tests] Add helpful makefiles for a few test suites. (#13677) 2022-01-12 11:39:06 +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