diff options
author | Matt Ellis <matell@microsoft.com> | 2015-06-30 14:11:27 -0700 |
---|---|---|
committer | Matt Ellis <matell@microsoft.com> | 2015-06-30 14:11:27 -0700 |
commit | 3783d7e53f1e7382a0d5d33f739ca687f9136196 (patch) | |
tree | ad1aca129cb5eef9e97c4e007289dbbd39bde53e /tests/src/JIT/Directed/newarr/newarr.csproj | |
parent | 3d8e9b6cb7a8d57ad836cd4748a7260e57477ed3 (diff) | |
download | coreclr-3783d7e53f1e7382a0d5d33f739ca687f9136196.tar.gz coreclr-3783d7e53f1e7382a0d5d33f739ca687f9136196.tar.bz2 coreclr-3783d7e53f1e7382a0d5d33f739ca687f9136196.zip |
Speed up package resotre of JIT Test build
We spend a fair amount of time (six wall clock minutes on my machine)
doing package restore for the JIT tests. This is because each project
has its own packages.config file, so during the build we call nuget
restore for each project.
There are only four unique packages.config files for all these tests, so
this change moves them to tests/src/JIT/config and updates the project
files to consume them from there.
This means during the build the `EnsureDependencies` target does not
need to invoke nuget restore as often and the build is much faster as a
result.
Diffstat (limited to 'tests/src/JIT/Directed/newarr/newarr.csproj')
-rw-r--r-- | tests/src/JIT/Directed/newarr/newarr.csproj | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/src/JIT/Directed/newarr/newarr.csproj b/tests/src/JIT/Directed/newarr/newarr.csproj index 63ea3e3f3f..9c96196a09 100644 --- a/tests/src/JIT/Directed/newarr/newarr.csproj +++ b/tests/src/JIT/Directed/newarr/newarr.csproj @@ -33,13 +33,16 @@ <Compile Include="newarr.cs" /> </ItemGroup> <ItemGroup> - <None Include="packages.config" /> + <None Include="$(JitPackagesConfigFileDirectory)minimal.packages.config" /> <None Include="app.config" /> </ItemGroup> <ItemGroup> <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> </ItemGroup> + <PropertyGroup> + <PackagesConfigFile>$(JitPackagesConfigFileDirectory)minimal.packages.config</PackagesConfigFile> + </PropertyGroup> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "> </PropertyGroup> -</Project>
\ No newline at end of file +</Project> |