turn on multi tfm test
This commit is contained in:
parent
481aebd18a
commit
1c1f4c462f
1 changed files with 3 additions and 4 deletions
|
@ -123,8 +123,7 @@ namespace Microsoft.DotNet.Migration.Tests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
// TODO: Enable this when X-Targeting is in
|
[InlineData("TestLibraryWithMultipleFrameworks")]
|
||||||
// [InlineData("TestLibraryWithMultipleFrameworks")]
|
|
||||||
public void It_migrates_projects_with_multiple_TFMs(string projectName)
|
public void It_migrates_projects_with_multiple_TFMs(string projectName)
|
||||||
{
|
{
|
||||||
var projectDirectory =
|
var projectDirectory =
|
||||||
|
@ -531,12 +530,12 @@ namespace Microsoft.DotNet.Migration.Tests
|
||||||
|
|
||||||
if (projectName != null)
|
if (projectName != null)
|
||||||
{
|
{
|
||||||
command.Execute($"{projectName}.csproj /p:SkipInvalidConfigurations=true")
|
command.Execute($"{projectName}.csproj /p:SkipInvalidConfigurations=true;_InvalidConfigurationWarning=false")
|
||||||
.Should().Pass();
|
.Should().Pass();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
command.Execute("/p:SkipInvalidConfigurations=true")
|
command.Execute("/p:SkipInvalidConfigurations=true;_InvalidConfigurationWarning=false")
|
||||||
.Should().Pass();
|
.Should().Pass();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue