summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Methodical/casts/coverage/_dbgcastclass_call.csproj
diff options
context:
space:
mode:
authorMatt Ellis <matell@microsoft.com>2015-06-30 14:11:27 -0700
committerMatt Ellis <matell@microsoft.com>2015-06-30 14:11:27 -0700
commit3783d7e53f1e7382a0d5d33f739ca687f9136196 (patch)
treead1aca129cb5eef9e97c4e007289dbbd39bde53e /tests/src/JIT/Methodical/casts/coverage/_dbgcastclass_call.csproj
parent3d8e9b6cb7a8d57ad836cd4748a7260e57477ed3 (diff)
downloadcoreclr-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/Methodical/casts/coverage/_dbgcastclass_call.csproj')
-rw-r--r--tests/src/JIT/Methodical/casts/coverage/_dbgcastclass_call.csproj7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/src/JIT/Methodical/casts/coverage/_dbgcastclass_call.csproj b/tests/src/JIT/Methodical/casts/coverage/_dbgcastclass_call.csproj
index 3e7094411f..873857f8a7 100644
--- a/tests/src/JIT/Methodical/casts/coverage/_dbgcastclass_call.csproj
+++ b/tests/src/JIT/Methodical/casts/coverage/_dbgcastclass_call.csproj
@@ -34,13 +34,16 @@
<Compile Include="castclass_call.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>