diff options
author | Ludovic Henry <luhenry@microsoft.com> | 2019-02-27 00:08:01 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-02-27 00:08:01 +0300 |
commit | a685cf26a4daacbe1e7bd3d34e88a2eb90159672 (patch) | |
tree | 81b9d7772103da5192166814ec02ef6fd080606e /mcs/class/Mono.Security | |
parent | 5f5ef1efe50b2c51461c4339ed89f5aa589e9e52 (diff) |
[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
Diffstat (limited to 'mcs/class/Mono.Security')
-rw-r--r-- | mcs/class/Mono.Security/Test/Mono.Security.Cryptography/KeyPairPersistenceTest.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/KeyPairPersistenceTest.cs b/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/KeyPairPersistenceTest.cs index 41b972bac5d..cfeb15f8e18 100644 --- a/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/KeyPairPersistenceTest.cs +++ b/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/KeyPairPersistenceTest.cs @@ -180,7 +180,7 @@ namespace MonoTests.Mono.Security.Cryptography { } catch (CryptographicException ce) { // not everyone can write to the machine store - if (!(ce.InnerException is UnauthorizedAccessException)) + if (!(ce.InnerException is UnauthorizedAccessException) && !(ce.InnerException is IOException ioe && ioe.HResult == 30 /* Read-only file system */)) throw; Assert.Ignore ("Access denied to key containers files."); } @@ -208,7 +208,7 @@ namespace MonoTests.Mono.Security.Cryptography { } catch (CryptographicException ce) { // not everyone can write to the machine store - if (!(ce.InnerException is UnauthorizedAccessException)) + if (!(ce.InnerException is UnauthorizedAccessException) && !(ce.InnerException is IOException ioe && ioe.HResult == 30 /* Read-only file system */)) throw; Assert.Ignore ("Access denied to key containers files."); } |