Embeddinator-4000/tests
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
..
MonoEmbeddinator4000.Tests [windows] .gitattributes for proper line endings settings (#667) 2018-05-04 17:06:07 -05:00
android [build] Android API 26, setup Windows builds on Jenkins (#664) 2018-04-27 15:10:46 -05:00
common [objc] Fix issue blocking all F# libraries (#632) 2018-03-27 10:20:41 -05:00
leaktest [windows] .gitattributes for proper line endings settings (#667) 2018-05-04 17:06:07 -05:00
managed [windows] .gitattributes for proper line endings settings (#667) 2018-05-04 17:06:07 -05:00
managedwarn [windows] .gitattributes for proper line endings settings (#667) 2018-05-04 17:06:07 -05:00
objc-cli [build] changes to fix the CI 2018-12-21 18:01:16 -05:00
objcgentest [build] changes to fix the CI 2018-12-21 18:01:16 -05:00
.gitignore [tests] moved test project name and directory 2017-07-06 21:23:00 -05:00
README.md Update README.md 2018-01-15 12:16:17 +00:00
Tests.md Add technical documents and improve readme (#646) 2018-04-10 14:43:08 -05:00

README.md

Test suite

This directory contains the test suite for Embeddinator.

To run the test suite, run ./build.sh -t Tests from the root directory.

The test suite is composed by a few different projects/directories:

* android: Android tests runner
* common: common C and Java tests 
* objc-cli: Objective-C specific test driver
* managed: Managed code test types