xamarin-macios/tools
Rolf Bjarne Kvinge 883038788a
[tests] Fix relative paths in mmptest and make cloned XM nunit projects work properly. (#3464)
* [tests] Fix relative paths in mmptest and make cloned XM nunit projects work properly.

Fixes this build problem with mmptest:

    /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/mmptest/CustomBuildActions.targets: error : Command 'make bin/SimpleClassDylib.dylib bin/SimpleClassStatic.a bin/Mobile-static/MobileBinding.dll' exited with code: 255.

Fixes https://github.com/xamarin/maccore/issues/633.

* [mmp] Improve Driver.IsDefaultMarshalingManagedExceptionMode to work before MarshalManagedException has been initialized.

Fixes this test failure:

    1) Failed : Xamarin.MMP.Tests.MMPTests.UnifiedDebugBuilds_ShouldLinkToPartialStatic_UnlessDisabled
      Debug build should use partial static registrar
      Expected: True
      But was:  False

This regressed in 0561618460, where we wouldn't
properly select the partial static registrar because the initialization order
changed and we'd do it before selecting the default exception marshaling mode.

Changing Driver.IsDefaultMarshalingManagedExceptionMode to work before
MarshalManagedException has been initialized to its default value fixes the
problem.
2018-02-13 17:19:31 +01:00
..
apidiff [src/apidiff] Don't hardcode input/output/build directories. (#3435) 2018-02-09 13:07:22 +01:00
common [tests] Fix relative paths in mmptest and make cloned XM nunit projects work properly. (#3464) 2018-02-13 17:19:31 +01:00
install-source [install-source] Add console runner from Nuget and fix xharness to restore nugets before attempting to build. (#3251) 2018-01-18 16:58:56 +01:00
linker Optimize calls to BlockLiteral.SetupBlock to inject the block signature. (#3391) 2018-02-06 07:08:15 +01:00
mmp [mmp] Don't store the current registrar in multiple places. (#3466) 2018-02-13 14:32:00 +01:00
mtouch [mtouch/mmp] Simplify and unify the code to select/create the static registrar. (#3461) 2018-02-12 14:42:19 +01:00
.gitignore Add scripts to calculate API diffs and generated code diff between the current build and another revision. (#3447) 2018-02-13 07:47:47 +01:00
Makefile Install source code. 2016-04-24 14:47:27 -04:00
compare-commits.sh Add scripts to calculate API diffs and generated code diff between the current build and another revision. (#3447) 2018-02-13 07:47:47 +01:00
diff-to-html Add scripts to calculate API diffs and generated code diff between the current build and another revision. (#3447) 2018-02-13 07:47:47 +01:00