Disable test due to crossgen bug https://github.com/dotnet/coreclr/issues/9118.
This commit is contained in:
parent
f6b0196b0f
commit
eefdbb8846
1 changed files with 7 additions and 0 deletions
|
@ -8,6 +8,7 @@ using Microsoft.DotNet.Tools.Test.Utilities;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@ -291,6 +292,12 @@ namespace Microsoft.DotNet.Migration.Tests
|
||||||
[InlineData("PJTestLibraryWithConfiguration")]
|
[InlineData("PJTestLibraryWithConfiguration")]
|
||||||
public void ItMigratesALibrary(string projectName)
|
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
|
var projectDirectory = TestAssets
|
||||||
.GetProjectJson(projectName)
|
.GetProjectJson(projectName)
|
||||||
.CreateInstance(identifier: projectName)
|
.CreateInstance(identifier: projectName)
|
||||||
|
|
Loading…
Reference in a new issue