Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 1.11 KB

testing-with-corefx.md

File metadata and controls

16 lines (10 loc) · 1.11 KB

Testing with CoreFX

It may be valuable to use CoreFX tests to validate your changes to CoreCLR or mscorlib.

Windows

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.

To run tests, follow the procedure for running tests in CoreFX. You can pass /p:BUILDTOOLS_OVERRIDE_RUNTIME=<path-to-coreclr>\bin\Product\Windows_NT.x64.Release to build.cmd to set this property.

Linux, OS X, FreeBSD

Refer to the procedure for running tests in CoreFX

  • Note the --coreclr-bins and --mscorlib-bins arguments to run-test.sh
  • Pass in paths to your private build of CoreCLR