Add support for building dotnet CLI on Debian.

This commit is contained in:
Jeremy Meng 2016-03-03 18:38:58 +00:00
parent c33c2ff127
commit ee4bbb43ff
6 changed files with 47 additions and 14 deletions

View file

@ -83,7 +83,7 @@ namespace Microsoft.DotNet.Tests.EndToEnd
[Fact]
public void TestDotnetBuildNativeRyuJit()
{
if(!IsNativeCompilationSupported())
if (!IsNativeCompilationSupported())
{
return;
}
@ -98,8 +98,8 @@ namespace Microsoft.DotNet.Tests.EndToEnd
[Fact]
public void TestDotnetBuildNativeCpp()
{
if(!IsNativeCompilationSupported())
{
if (!IsNativeCompilationSupported())
{
return;
}
@ -113,8 +113,8 @@ namespace Microsoft.DotNet.Tests.EndToEnd
[Fact]
public void TestDotnetCompileNativeCppIncremental()
{
if(!IsNativeCompilationSupported())
{
if (!IsNativeCompilationSupported())
{
return;
}
@ -226,6 +226,10 @@ namespace Microsoft.DotNet.Tests.EndToEnd
Console.WriteLine("Skipping native compilation tests on CentOS/RHEL - https://github.com/dotnet/cli/issues/453");
isSupported = false;
break;
case "debian":
Console.WriteLine("Skipping native compilation tests on Debian - https://github.com/dotnet/cli/issues/1666");
isSupported = false;
break;
case "windows":
Console.WriteLine("Skipping native compilation tests on Windows x86 - https://github.com/dotnet/cli/issues/1550");
isSupported = RuntimeInformation.ProcessArchitecture != Architecture.X86;