Imported Upstream version 5.16.0.100

Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-08-07 15:19:03 +00:00
parent 0a9828183b
commit 7d7f676260
4419 changed files with 170950 additions and 90273 deletions

View File

@@ -4,30 +4,37 @@
<ItemGroup>
<TestPackages Condition="'$(TestPackages)' != ''" Include="$(TestPackages)" />
<PackageReports Condition="'@(TestPackages)' == ''" Include="$(PackageReportDir)*.json" />
<ExcludePackages Include="CoreFx.Private.TestUtilities" />
<ExcludePackages Include="$(ExcludePackages)" />
<PackageReports Condition="'@(TestPackages)' == ''" Include="$(PackageReportDir)*.json" Exclude="@(ExcludePackages->'$(PackageReportDir)%(Identity).json')"/>
<PackageReports Condition="'@(TestPackages)' != ''" Include="@(TestPackages->'$(PackageReportDir)%(Identity).json')" />
<!-- support override via commandline -->
<RuntimesToInclude Condition="'$(RuntimesToInclude)' != ''" Include="$(RuntimesToInclude)" />
<TargetFrameworksToInclude Condition="'$(TargetFrameworksToInclude)' != ''" Include="$(TargetFrameworksToInclude)" />
<!-- restrict restore sources to the current build and publicly shipped packages -->
<RestoreSource Include="$(PackageOutputPath)" />
<RestoreSource Include="https:%2F%2Fapi.nuget.org/v3/index.json" />
<!-- needed for SQLClient's SNI packages -->
<RestoreSource Include="https:%2F%2Fdotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<!-- ideally this would be first, but we need to list last to workaround https://github.com/NuGet/Home/issues/6678 -->
<RestoreSource Include="$(PackageOutputPath)" />
<!-- we don't build alpine or older OSX versions -->
<RuntimesToExclude Include="alpine.3.4.3-x64;osx.10.10-x64;osx.10.11-x64" />
<!-- no targeting pack was ever shipped for net463 -->
<TargetFrameworksToExclude Include="net463" />
<TargetFrameworksToExclude Include="net47" />
<!-- exclude netcoreapp2.2 in release branch for 2.1 -->
<TargetFrameworksToExclude Include="netcoreapp2.2" />
</ItemGroup>
<PropertyGroup>
<TestDir>$(PackageOutputPath)test/</TestDir>
<TestDir>$(BinDir)testPkg/</TestDir>
<TestProjectName>test.msbuild</TestProjectName>
<TestProject>$(TestDir)$(TestProjectName)</TestProject>
<TestToolsDir>$(TestDir)tools/</TestToolsDir>
@@ -50,12 +57,15 @@
</PropertyGroup>
<ItemGroup>
<TestSupportFiles Include="$(DotnetCliPath)\**\*.*">
<TestSupportFiles Include="$(DotnetCliPath)\**\*.*" Exclude="$(DotnetCliPath)\sdk\NuGetFallbackFolder\**\*.*">
<DestinationFolder>$(TestToolsDir)%(RecursiveDir)</DestinationFolder>
</TestSupportFiles>
<TestSupportFiles Include="$(SourceDir)shims\netfxreference.props">
<DestinationFolder>$(TestToolsDir)</DestinationFolder>
</TestSupportFiles>
<TestSupportFiles Include="$(ProjectDir)dependencies.props">
<DestinationFolder>$(TestToolsDir)</DestinationFolder>
</TestSupportFiles>
<TestSupportFiles Include="$(ToolsDir)Packaging.common.targets">
<DestinationFolder>$(TestToolsDir)</DestinationFolder>
</TestSupportFiles>
@@ -75,6 +85,12 @@
<DestinationFolder>$(TestDir)</DestinationFolder>
</TestSupportFiles>
</ItemGroup>
<ItemGroup>
<CliEnvironment Include="DOTNET_CLI_TELEMETRY_OPTOUT=1" />
<CliEnvironment Include="DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1" />
<CliEnvironment Include="DOTNET_MULTILEVEL_LOOKUP=0" />
</ItemGroup>
<Target Name="CreateTestDir"
Inputs="@(TestSupportFiles)"
@@ -155,16 +171,16 @@
<Target Name="RestoreProjects"
DependsOnTargets="GenerateProjects">
<Message Importance="High" Text="*** Restoring ***" />
<Exec Command="$(TestRestoreCommand) &quot;$(TestProject)&quot;" StandardOutputImportance="High" />
<Exec Command="$(TestRestoreCommand) &quot;$(TestProject)&quot;" EnvironmentVariables="@(CliEnvironment)" ContinueOnError="ErrorAndContinue" StandardOutputImportance="High" />
</Target>
<Target Name="BuildProjects"
DependsOnTargets="RestoreProjects">
<Message Importance="High" Text="*** Testing ***" />
<Exec Command="$(TestBuildCommand) &quot;$(TestProject)&quot; /p:TestPackages=%(SupportedPackage.Identity)" StandardOutputImportance="High" />
<Exec Command="$(TestBuildCommand) &quot;$(TestProject)&quot; /p:TestPackages=%(SupportedPackage.Identity)" EnvironmentVariables="@(CliEnvironment)" ContinueOnError="ErrorAndContinue" StandardOutputImportance="High" />
</Target>
<Target Name="Build" DependsOnTargets="BuildProjects" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>
</Project>