xamarin-macios/tests/linker/ios
Rolf Bjarne Kvinge 73f6bf0722
[tests] Determine at runtime instead of compile time whether LinkAll is enabled. Fixes #3812. (#4004)
* [tests] Determine at runtime instead of compile time whether LinkAll is enabled. Fixes #3812.

This way we can remove the LINKALL define, which also means nobody can forget
to define it when building using LinkAll.

https://github.com/xamarin/xamarin-macios/issues/3812
2018-04-27 13:11:27 +02:00
..
dont link [linker] Mark all TypeConverter if TypeDescriptor is used. Fixes #3372 (#3396) 2018-02-05 21:19:46 -05:00
link all [tests] Determine at runtime instead of compile time whether LinkAll is enabled. Fixes #3812. (#4004) 2018-04-27 13:11:27 +02:00
link sdk [tests] Determine at runtime instead of compile time whether LinkAll is enabled. Fixes #3812. (#4004) 2018-04-27 13:11:27 +02:00
README.md [tests] Move linker tests to match introspection directory layout. (#3365) 2018-02-05 15:09:04 +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