From eefdbb88466324298570d77246d8c596075405f1 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Thu, 26 Jan 2017 09:28:12 -0600 Subject: [PATCH] Disable test due to crossgen bug https://github.com/dotnet/coreclr/issues/9118. --- .../GivenThatIWantToMigrateTestApps.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs index c569c6cc6..137eba297 100644 --- a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs +++ b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs @@ -8,6 +8,7 @@ using Microsoft.DotNet.Tools.Test.Utilities; using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.InteropServices; using Xunit; using FluentAssertions; using System.IO; @@ -291,6 +292,12 @@ namespace Microsoft.DotNet.Migration.Tests [InlineData("PJTestLibraryWithConfiguration")] public void ItMigratesALibrary(string projectName) { + // running into https://github.com/dotnet/coreclr/issues/9118 with crossgen'd csc on non-Windows + if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && projectName == "TestLibraryWithAnalyzer") + { + return; + } + var projectDirectory = TestAssets .GetProjectJson(projectName) .CreateInstance(identifier: projectName)