xamarin-macios/tests/linker-ios
Sebastien Pouliot dbb41ee852 [tests][linkall] Make sure the compiler won't remove a field that triggers the inclusion of OpenTK-1.dll. Fixes #54466 (#1961)
Roslyn, when building in release, can remove unused fields. That broke
a test that ensure OpenTK types got preserved correctly (because the
assembly is not needed/included without that reference)

https://bugzilla.xamarin.com/show_bug.cgi?id=54466
2017-04-05 11:52:27 -05:00
..
dont link Revert "[linker] Inline BinaryCompatibility.TargetsAtLeast_Desktop_V4_5[_1] (#1518)" 2017-03-14 11:51:08 +01:00
link all [tests][linkall] Make sure the compiler won't remove a field that triggers the inclusion of OpenTK-1.dll. Fixes #54466 (#1961) 2017-04-05 11:52:27 -05:00
link sdk [tests] Remove OptimizeGeneratedCodeTest.IntPtrSizeOptimization. Fixes #54408 (#1959) 2017-04-04 10:06:52 -05:00
README.md [tests] Move linker tests from maccore (#69) 2016-05-20 14:07:34 -04: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