From 1c1f4c462f90362d14d273f3a6e8482d0d8ff96a Mon Sep 17 00:00:00 2001 From: Bryan Thornbury <brthor@microsoft.com> Date: Thu, 20 Oct 2016 15:19:35 -0700 Subject: [PATCH] turn on multi tfm test --- .../GivenThatIWantToMigrateTestApps.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs index 31e80dcb1..f88ba5f55 100644 --- a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs +++ b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs @@ -123,8 +123,7 @@ namespace Microsoft.DotNet.Migration.Tests } [Theory] - // TODO: Enable this when X-Targeting is in - // [InlineData("TestLibraryWithMultipleFrameworks")] + [InlineData("TestLibraryWithMultipleFrameworks")] public void It_migrates_projects_with_multiple_TFMs(string projectName) { var projectDirectory = @@ -531,12 +530,12 @@ namespace Microsoft.DotNet.Migration.Tests if (projectName != null) { - command.Execute($"{projectName}.csproj /p:SkipInvalidConfigurations=true") + command.Execute($"{projectName}.csproj /p:SkipInvalidConfigurations=true;_InvalidConfigurationWarning=false") .Should().Pass(); } else { - command.Execute("/p:SkipInvalidConfigurations=true") + command.Execute("/p:SkipInvalidConfigurations=true;_InvalidConfigurationWarning=false") .Should().Pass(); } }