Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>2020-05-11 19:27:18 +0300
committerGitHub <noreply@github.com>2020-05-11 19:27:18 +0300
commitffec224a2a69f0cde4c43d9c90090dcb294ca6c6 (patch)
treebe47e6f55809c75d2845b41a4cd567c43e7bac43 /test
parent424d147ae786fa080861bbfc35cdcee75900975a (diff)
[master] Update dependencies from dotnet/arcade (#1180)
* Update dependencies from https://github.com/dotnet/arcade build 20200506.5 - Microsoft.DotNet.ApiCompat: 5.0.0-beta.20228.4 -> 5.0.0-beta.20256.5 - Microsoft.DotNet.Arcade.Sdk: 5.0.0-beta.20228.4 -> 5.0.0-beta.20256.5 * Add restore to lint.sh/cmd * Remove lint restore from azure-pipelines.yml * Make sure the Lint step fails on violations * Disable https listening in WebApiTest.cs It doesn't play nice with CI environments. * Disable WebApi test on CI on macOS Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Diffstat (limited to 'test')
-rw-r--r--test/ILLink.Tasks.IntegrationTests/WebApiTest.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/ILLink.Tasks.IntegrationTests/WebApiTest.cs b/test/ILLink.Tasks.IntegrationTests/WebApiTest.cs
index 75775fe3c..a8a9c4950 100644
--- a/test/ILLink.Tasks.IntegrationTests/WebApiTest.cs
+++ b/test/ILLink.Tasks.IntegrationTests/WebApiTest.cs
@@ -1,6 +1,7 @@
using System;
using System.IO;
using System.Xml.Linq;
+using System.Runtime.InteropServices;
using Xunit;
using Xunit.Abstractions;
@@ -30,7 +31,7 @@ namespace ILLink.Tests
}
Directory.CreateDirectory (projectRoot);
- int ret = CommandHelper.Dotnet ("new webapi", projectRoot);
+ int ret = CommandHelper.Dotnet ("new webapi --no-https", projectRoot);
if (ret != 0) {
LogMessage ("dotnet new failed");
Assert.True (false);
@@ -78,6 +79,11 @@ namespace ILLink.Tests
[Fact]
public void RunWebApiStandalone ()
{
+ if (RuntimeInformation.IsOSPlatform (OSPlatform.OSX) && !String.IsNullOrEmpty (Environment.GetEnvironmentVariable ("TF_BUILD"))) {
+ // CI has issues with the HTTPS dev cert
+ return;
+ }
+
string executablePath = BuildAndLink (fixture.csproj, selfContained: true);
CheckOutput (executablePath, selfContained: true);
}