summaryrefslogtreecommitdiff
path: root/tests/src/Common/external
diff options
context:
space:
mode:
authorwtgodbe <wigodbe@microsoft.com>2017-02-22 12:35:27 -0800
committerwtgodbe <wigodbe@microsoft.com>2017-03-13 15:30:19 -0700
commit5fc26e331934ea3e920103de8cb4161d2ff0ba6e (patch)
tree13a59e3bea093605bb509ac719002430140bc3dc /tests/src/Common/external
parent98c0edfa07dc47e2ae4c7d785d3dd122f430bfc8 (diff)
downloadcoreclr-5fc26e331934ea3e920103de8cb4161d2ff0ba6e.tar.gz
coreclr-5fc26e331934ea3e920103de8cb4161d2ff0ba6e.tar.bz2
coreclr-5fc26e331934ea3e920103de8cb4161d2ff0ba6e.zip
Pick up new CoreFX packages and abandon old ones
Diffstat (limited to 'tests/src/Common/external')
-rw-r--r--tests/src/Common/external/external.csproj13
-rw-r--r--tests/src/Common/external/external.depproj56
-rw-r--r--tests/src/Common/external/project.json24
3 files changed, 93 insertions, 0 deletions
diff --git a/tests/src/Common/external/external.csproj b/tests/src/Common/external/external.csproj
new file mode 100644
index 0000000000..f7fa75ed32
--- /dev/null
+++ b/tests/src/Common/external/external.csproj
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <CLRTestKind>BuildOnly</CLRTestKind>
+ <NugetTargetMoniker>.NETCoreApp,Version=v1.1</NugetTargetMoniker>
+ </PropertyGroup>
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <Target Name="Build"
+ DependsOnTargets="ResolveReferences" />
+</Project> \ No newline at end of file
diff --git a/tests/src/Common/external/external.depproj b/tests/src/Common/external/external.depproj
new file mode 100644
index 0000000000..063c1f94f9
--- /dev/null
+++ b/tests/src/Common/external/external.depproj
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+ <PropertyGroup>
+ <!-- Given that xunit packages bring with them part of the framework, we need to specify a runtime in order to get the assets
+ This RID value doesn't really matter, since the assets we are copying are not RID specific, so defaulting to Windows here
+ -->
+ <ProjectJson>$(MSBuildThisFileDirectory)project.json</ProjectJson>
+ <ProjectLockJson>$(MSBuildThisFileDirectory)project.lock.json</ProjectLockJson>
+ <Language>C#</Language>
+ <NugetTargetMoniker>.NETCoreApp,Version=v1.1</NugetTargetMoniker>
+ <NugetRuntimeIdentifier>win7-x64</NugetRuntimeIdentifier>
+ <OutputPath>$(TargetingPackPath)</OutputPath>
+ <XUnitRunnerPackageId Condition="'$(TargetGroup)' != 'netfx'">xunit.console.netcore</XUnitRunnerPackageId>
+ <XUnitRunnerPackageId Condition="'$(TargetGroup)' == 'netfx'">xunit.runner.console</XUnitRunnerPackageId>
+ <CLRTestKind>SharedLibrary</CLRTestKind>
+ </PropertyGroup>
+ <ItemGroup>
+ <None Include="project.json" />
+ </ItemGroup>
+ <ItemGroup>
+ <PackageToInclude Include="xunit.abstractions"/>
+ <PackageToInclude Include="xunit.assert"/>
+ <PackageToInclude Include="xunit.extensibility.core"/>
+ <PackageToInclude Include="xunit.extensibility.execution"/>
+ <PackageToInclude Include="xunit.runner.utility"/>
+ <PackageToInclude Include="Microsoft.DotNet.xunit.performance"/>
+ <PackageToInclude Include="Microsoft.DotNet.xunit.performance.analysis"/>
+ <PackageToInclude Include="Microsoft.DotNet.xunit.performance.runner.Windows"/>
+ <PackageToInclude Include="Newtonsoft.Json"/>
+ <PackageToInclude Include="Microsoft.CodeAnalysis.Analyzers"/>
+ <PackageToInclude Include="Microsoft.CodeAnalysis.Common"/>
+ <PackageToInclude Include="Microsoft.CodeAnalysis.Compilers"/>
+ <PackageToInclude Include="Microsoft.CodeAnalysis.CSharp"/>
+ <PackageToInclude Include="Microsoft.CodeAnalysis.VisualBasic"/>
+ <PackageToInclude Include="$(XUnitRunnerPackageId)" />
+ </ItemGroup>
+
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+
+ <Target Name="AddXunitConsoleRunner" BeforeTargets="ResolveReferences" Condition="'$(TargetGroup)' == 'netfx'">
+ <Error Condition="!Exists('$(PackagesDir)$(XUnitRunnerPackageId)\$(XUnitPackageVersion)\tools\xunit.console.exe')"
+ Text="Error: looks the package $(PackagesDir)$(XUnitRunnerPackageId)\$(XUnitPackageVersion) not restored or missing xunit.console.exe."
+ />
+ <ItemGroup>
+ <ReferenceCopyLocalPaths
+ Include="$(PackagesDir)$(XUnitRunnerPackageId)\$(XUnitPackageVersion)\tools\*.*"
+ Exclude="$(PackagesDir)$(XUnitRunnerPackageId)\$(XUnitPackageVersion)\tools\xunit.console.exe.config"
+ >
+ <Private>false</Private>
+ <NuGetPackageId>$(XUnitRunnerPackageId)</NuGetPackageId>
+ <NuGetPackageVersion>$(XUnitPackageVersion)</NuGetPackageVersion>
+ </ReferenceCopyLocalPaths>
+ </ItemGroup>
+</Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/Common/external/project.json b/tests/src/Common/external/project.json
new file mode 100644
index 0000000000..5c0e636c04
--- /dev/null
+++ b/tests/src/Common/external/project.json
@@ -0,0 +1,24 @@
+{
+ "dependencies": {
+ "Microsoft.CodeAnalysis.Compilers": "1.1.1",
+ "Microsoft.DotNet.xunit.performance": "1.0.0-alpha-build0040",
+ "Microsoft.DotNet.xunit.performance.analysis": "1.0.0-alpha-build0040",
+ "Microsoft.DotNet.xunit.performance.runner.Windows": "1.0.0-alpha-build0040",
+ "Newtonsoft.Json": "9.0.1",
+ "xunit": "2.2.0-beta2-build3300",
+ "xunit.console.netcore": "1.0.2-prerelease-00177",
+ "xunit.runner.utility": "2.2.0-beta2-build3300"
+ },
+ "frameworks": {
+ "netcoreapp1.1": {
+ "imports": [
+ "dnxcore50",
+ "portable-net45+win8"
+ ]
+ }
+ },
+ "runtimes": {
+ "win7-x86": {},
+ "win7-x64": {}
+ }
+} \ No newline at end of file