xamarin-macios/tests/mono-native
Rolf Bjarne Kvinge 4893a4a1f5 [xharness] Refactor how mac tests projects are generated. Fixes #6322.
Harness.AutoConfigureMac now loads all the mac test projects both when
configuring and running tests, the only difference is that the test projects
that must be generated are only generated when configuring. This means that
the Harness.MacTestProject list contains the exact same test projects both
when configuring and when running tests.

This made it possible to remove logic to clone (mac) test projects the Jenkins
class (since Harness.MacTestProjects contains all the test projects already).

Consolidate logic to generate (mac) test projects:

* First we generate BCL and mono-native projects from their templates.
* Then we generate Full/System variations of any project that needs it.

This way we can remove logic to generate Full/System variations from the logic
to generate BCL/mono-native projects, which means less duplicated (and less
confusing) code.

To this purpose, significant changes were required:

* MacTestProject.TargetFrameworkFlavor has been modified to contain a bit mask
  of the variations to generate.
* MacMonoNativeInfo has been significantly simplified, and some of the
  generated code has been moved to the actual template instead.
* Some project generation (in MacTarget) to make things work as expected.

Fixes https://github.com/xamarin/xamarin-macios/issues/6322.
2019-06-20 10:48:51 +02:00
..
.gitignore [xharness] Refactor how mac tests projects are generated. Fixes #6322. 2019-06-20 10:48:51 +02:00
AppDelegate.cs [tests]: Add new 'mono-native' test suite. 2018-11-14 13:30:25 -05:00
Entitlements-mac.plist [tests]: Add new 'mono-native' test suite. 2018-11-14 13:30:25 -05:00
Info-mac.plist Add missing file. 2018-11-14 13:36:03 -05:00
Info.plist [tests]: Add new 'mono-native' test suite. 2018-11-14 13:30:25 -05:00
Introspection.cs [tests][mono-native] Adjust logic which is causing tests to fail on tvOS. (#5877) 2019-04-11 19:41:25 +02:00
MacAppDelegate.cs [tests]: Add new 'mono-native' test suite. 2018-11-14 13:30:25 -05:00
MacMain.cs [tests]: Add new 'mono-native' test suite. 2018-11-14 13:30:25 -05:00
Main.cs [tests]: Add new 'mono-native' test suite. 2018-11-14 13:30:25 -05:00
NativePlatformConfig.cs Remove debug spew. 2019-02-11 13:49:38 +01:00
mono-native-mac.csproj.template [xharness] Refactor how mac tests projects are generated. Fixes #6322. 2019-06-20 10:48:51 +02:00
mono-native.csproj.template [tests] Enable the linker for device builds and disable it for simulator builds in the mono-native tests. 2019-02-18 13:39:31 +01:00