From cdf08854181bae6dc43eb49bea7c88208499679d Mon Sep 17 00:00:00 2001 From: Matt Ellis Date: Tue, 10 Nov 2015 15:05:29 -0800 Subject: [PATCH] Update testing instructions The how to test with a custom runtime instructions had gotten stale since CoreFX no longer consumes the runtime package we produce (it instead uses the official packages). Since we can not yet build these packages here, we need to update the instructions to use BUILDTOOLS_OVERRIDE_RUNTIME in order to be able to deploy a custom runtime at test time. --- Documentation/building/testing-with-corefx.md | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/Documentation/building/testing-with-corefx.md b/Documentation/building/testing-with-corefx.md index c16de63..ab1bc30 100644 --- a/Documentation/building/testing-with-corefx.md +++ b/Documentation/building/testing-with-corefx.md @@ -5,25 +5,9 @@ It may be valuable to use CoreFX tests to validate your changes to CoreCLR or ms **Windows** -In order to do this you need to create a file called `localpublish.props` under the `\packages` folder. -The contents of the file should look like this (make sure to update the version to the current version of the CoreCLR package used by CoreFx): +As part of building tests, CoreFX restores a copy of the runtime from myget, in order to update the runtime that is deployed, a special build property `BUILDTOOLS_OVERRIDE_RUNTIME` can be used. If this is set, the CoreFX testing targets will copy all the files in the folder it points to into the test folder, overwriting any files that exist. -```xml - - - - Microsoft.DotNet.CoreCLR - 1.0.2-prerelease - \packages - - - -``` - -Once this file is there, subsequent builds of the CoreCLR repo will install the CoreCLR package into the location specified by `InstallLocation`. - -To run tests, follow the procedure for [running tests in CoreFX](https://github.com/dotnet/corefx/blob/master/Documentation/building/windows-instructions.md). +To run tests, follow the procedure for [running tests in CoreFX](https://github.com/dotnet/corefx/blob/master/Documentation/building/windows-instructions.md). You can pass `/p:BUILDTOOLS_OVERRIDE_RUNTIME=\bin\Product\Windows_NT.x64.Release` to build.cmd to set this property. **Linux, OS X, FreeBSD** -- 2.7.4