[ci] Add new mode of execution for nunit tests on Android (#13098)
commita685cf26a4daacbe1e7bd3d34e88a2eb90159672
authorLudovic Henry <luhenry@microsoft.com>
Tue, 26 Feb 2019 21:08:01 +0000 (26 16:08 -0500)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 26 Feb 2019 21:08:01 +0000 (26 22:08 +0100)
tree81b9d7772103da5192166814ec02ef6fd080606e
parent5f5ef1efe50b2c51461c4339ed89f5aa589e9e52
[ci] Add new mode of execution for nunit tests on Android (#13098)

* [ci] Add new mode of execution for nunit tests on Android

This makes it possible to run the `nunit-lite-console.exe` on the host, while the tests still run on the device. This makes it transparent wherever the tests are running, giving us a seamless integration with the existing infrastructure based around nunit.

* [android] Fix System.Net.Http test suite

* [android] Fix System.ServiceModel.Web test suite

* [android] Fix Mono.Security test suite

* fixup! [ci] Add new mode of execution for nunit tests on Android

* [ci] Disable failing tests

* [csproj] Update project files
49 files changed:
external/nunit-lite
mcs/build/profiles/monodroid_tools.make
mcs/build/profiles/monotouch_tools.make
mcs/build/profiles/wasm_tools.make
mcs/class/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
mcs/class/Makefile
mcs/class/Mono.CSharp/Test/Evaluator/ExpressionsTest.cs
mcs/class/Mono.Cecil/Mono.Cecil.csproj
mcs/class/Mono.CompilerServices.SymbolWriter/Mono.CompilerServices.SymbolWriter.csproj
mcs/class/Mono.Runtime.Tests/Makefile
mcs/class/Mono.Runtime.Tests/Mono.Runtime.Tests_test.dll.exclude.sources [new file with mode: 0644]
mcs/class/Mono.Security/Test/Mono.Security.Cryptography/KeyPairPersistenceTest.cs
mcs/class/System.Data/Test/System.Data.SqlTypes/SqlStringTest.cs
mcs/class/System.Net.Http/Test/System.Net.Http/HttpClientTest.cs
mcs/class/corlib/Test/System.IO.IsolatedStorage/IsolatedStorageFileTest.cs
mcs/class/corlib/Test/System.IO/DirectoryTest.cs
mcs/class/corlib/Test/System.IO/FileInfoTest.cs
mcs/class/corlib/Test/System.IO/FileTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/DSACryptoServiceProviderTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/RSACryptoServiceProviderTest.cs
mcs/class/monodoc/monodoc.csproj
mcs/tools/Makefile
mcs/tools/cil-strip/mono-cil-strip.csproj
mcs/tools/corcompare/mono-api-info.csproj
mcs/tools/linker-analyzer/illinkanalyzer.csproj
mcs/tools/linker/monolinker.csproj
mcs/tools/mdoc/mdoc.csproj
mcs/tools/mkbundle/mkbundle.csproj
mcs/tools/mono-api-diff/mono-api-diff.csproj
mcs/tools/mono-api-html/mono-api-html.csproj
mcs/tools/mono-symbolicate/mono-symbolicate.csproj
mcs/tools/nunit-lite/NUnitLite/AndroidTestAssemblyRunner.cs [new file with mode: 0644]
mcs/tools/nunit-lite/NUnitLite/Test.cs [new file with mode: 0644]
mcs/tools/nunit-lite/NUnitLite/TestMessage.cs [new file with mode: 0644]
mcs/tools/nunit-lite/NUnitLite/TestResult.cs [new file with mode: 0644]
mcs/tools/nunit-lite/NUnitLite/monodroid_nunitlite.dll.sources [new file with mode: 0644]
mcs/tools/nunit-lite/NUnitLite/monodroid_tools_nunitlite.dll.sources [new file with mode: 0644]
mcs/tools/nunit-lite/NUnitLite/nunitlite.csproj
mcs/tools/nunit-lite/NUnitLite/nunitlite.dll.sources
mcs/tools/nunit-lite/nunit-lite-console/nunit-lite-console.csproj
mcs/tools/pdb2mdb/pdb2mdb.csproj
mcs/tools/wasm-tuner/wasm-tuner.csproj
scripts/ci/run-jenkins.sh
sdks/android/Makefile
sdks/android/app/src/main/c/runtime-bootstrap.c
sdks/android/app/src/main/java/org/mono/android/AndroidRunner.java
sdks/android/managed/fake-monodroid.cs
sdks/android/managed/main.cs [deleted file]
sdks/android/managed/mini-test-runner.cs [deleted file]