Embeddinator-4000/tests/objcgentest
Jonathan Peppers c237e21b63 [build] changes to fix the CI
Context: https://travis-ci.org/mono/Embeddinator-4000/jobs/471012684
Context: https://travis-ci.org/mono/Embeddinator-4000/jobs/471026456
Context: https://travis-ci.org/mono/Embeddinator-4000/jobs/471037351

First issue we are hitting is a missing version of Cake on MyGet:

    Unable to find version '0.23.0' of package 'Cake'.
      https://www.myget.org/F/cake/api/v3/index.json: Package 'Cake.0.23.0' is not found on source 'https://www.myget.org/F/cake/api/v3/index.json'.

To fix this:

- Let's remove `MyGet.config` and just use NuGet
- Update Cake to 0.31, I recently used that version on another project

Next issue is that the build will not work using JDK 10:

    Compiling binding code...
        Invoking: /usr/libexec/java_home
            /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
        Invoking: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/bin/javac
    ...
    Fatal Error: Unable to find package java.lang in classpath or bootclasspath

To fix this we should use the `-v 1.8` switch on every call to `java_home`.

Next issue is that we aren't specifying a version with the `#tool`
directive:

    The 'tool' directive is attempting to install the 'NUnit.ConsoleRunner' package
    without specifying a package version number.

After that we were hitting issues where Xamarin.iOS\Mac\Mono were having trouble being provisioned, so I bumped them all to current stable.

Then a few test fixes, including some from https://github.com/mono/Embeddinator-4000/pull/714 originally.

This fixes Jenkins and part fixes the other builds. @jonathanpeppers will look at those later
2018-12-21 18:01:16 -05:00
..
xcode/NoInitInSubclassTest [windows] .gitattributes for proper line endings settings (#667) 2018-05-04 17:06:07 -05:00
xcodetemplate [ObjC] Correctly marshall arrays of structrs (#641) 2018-04-02 10:15:46 -05:00
.gitignore [objc] Add support for running tests from the command line. (#34) 2017-03-31 13:13:51 -05:00
Asserts.cs Merge branch 'master' into objc-master-merge 2018-02-28 11:35:36 -06:00
Cache.cs [objcgen] Create an embedder class that contains the state required to run the embeddinator. (#110) 2017-04-12 08:57:26 -04:00
DriverTest.cs Merge branch 'master' into objc-master-merge 2018-02-28 11:35:36 -06:00
EmbedderTest.cs [build] changes to fix the CI 2018-12-21 18:01:16 -05:00
Makefile Handle rename of generator.sln in tests/objcgentest/Makefile 2018-03-02 12:55:33 -06:00
ManagedTest.cs [build] changes to fix the CI 2018-12-21 18:01:16 -05:00
ObjCGenErrWarnTests.cs Merge branch 'master' into objc-master-merge 2018-02-28 11:35:36 -06:00
ObjCGeneratorTest.cs Merge branch 'master' into objc-master-merge 2018-02-28 11:35:36 -06:00
StringExtensionsTest.cs [objc] Switch code to use an Embeddinator.ObjC namespace. 2017-08-18 13:55:39 +01:00
TypeExtensionsTest.cs [objc] Switch code to use an Embeddinator.ObjC namespace. 2017-08-18 13:55:39 +01:00
objcgentest.csproj [objc] Switch projects to use IKVM.Reflection reference. 2017-08-18 13:55:34 +01:00
packages.config [objc] Add support for running tests from the command line. (#34) 2017-03-31 13:13:51 -05:00