summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRama Krishnan Raghupathy <ramarag@microsoft.com>2016-08-23 18:31:26 -0700
committerRama Krishnan Raghupathy <ramarag@microsoft.com>2016-08-23 18:31:26 -0700
commit71dd695faef9e6d310a2df612cb51462dfeefc98 (patch)
tree2a9b41016cdc6fcc1cf10605ca68b4f7486fbe55 /Documentation
parent5537ed53eeedc0176b973787944512ebdd1f4ebc (diff)
downloadcoreclr-71dd695faef9e6d310a2df612cb51462dfeefc98.tar.gz
coreclr-71dd695faef9e6d310a2df612cb51462dfeefc98.tar.bz2
coreclr-71dd695faef9e6d310a2df612cb51462dfeefc98.zip
Infra changes to unify the tests to be built against a common project.json.
1. tests\src\Common\test_dependencies\project.json - To consume corefx and other nuget feeds 2. tests\src\Common\empty\project.json - To build against the mscorlib facade,to use this just Add <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> to your project
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/building/windows-test-instructions.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/building/windows-test-instructions.md b/Documentation/building/windows-test-instructions.md
index 74ec2584b3..8e8949ed00 100644
--- a/Documentation/building/windows-test-instructions.md
+++ b/Documentation/building/windows-test-instructions.md
@@ -74,9 +74,6 @@ If you wish to run the test under a debugger (e.g. [WinDbg](http://msdn.microsof
<repo_root>\binaries\tests\x64\debug\Exceptions\Finalization\Finalizer.cmd -debug <debuggerFullPath>
-Note:
-1. The Managed libraries in the above CORE_ROOT is populated from the [project.json](https://github.com/dotnet/coreclr/blob/master/tests/src/runtime/project.json), this is distinct from what was used to build the test.
-
**Modifying a test**
If test changes are needed, make the change and build the test project. This will binplace the binaries in test binaries folder (e.g. `<repo_root>\binaries\tests\x64\debug\Exceptions\Finalization`). At this point, follow the steps to re-run a failed test to re-run the modified test.
@@ -90,7 +87,6 @@ If test changes are needed, make the change and build the test project. This wil
4. Add the project of the new test to `<repo_root>\tests\src\AllTestProjects.sln` in VS
5. Add source files to this newly added project.
6. Indicate the success of the test by returning `100`.
-7. Add the .NET CoreFX contract references, as required, via the Nuget Package Manager in Visual Studio. *Make sure this does not change the csproj. If it does, then undo the change in the csproj.*
8. Add any other projects as a dependency, if needed.
9. Build the test.
10. Follow the steps to re-run a failed test to validate the new test.
@@ -104,3 +100,7 @@ Note:
``<DisableProjectBuild Condition=" '$(Platform)' == 'arm64' ">true</DisableProjectBuild>``
``</PropertyGroup>``
+
+2. To Add Nuget\MyGet Refernces use this (project.json)[https://github.com/dotnet/coreclr/blob/master/tests/src/Common/test_dependencies/project.json]
+
+3. To Build against the mscorlib facade add ``<ReferenceLocalMscorlib>true</ReferenceLocalMscorlib>`` to your project