Disable some tests that are failing because of a nuget issue on linuxportable

This commit is contained in:
Marc Paine 2022-10-18 09:50:01 -07:00
parent e582ffed07
commit 6f35aaa8e9
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFramework>$(CoreSdkTargetFramework)</TargetFramework>
<DefineConstants Condition="'$(IslinuxPortable)' == 'true'">$(DefineConstants);LINUX_PORTABLE</DefineConstants>
</PropertyGroup>
<ItemGroup>

View file

@ -47,6 +47,11 @@ namespace EndToEnd
internal void ItDoesNotRollForwardToTheLatestVersion(string packageName, string minorVersion)
{
// https://github.com/NuGet/Home/issues/8571
#if LINUX_PORTABLE
return;
#endif
var testProjectCreator = new TestProjectCreator()
{
PackageName = packageName,