diff options
author | Rama Krishnan Raghupathy <ramarag@microsoft.com> | 2016-03-10 15:45:22 -0800 |
---|---|---|
committer | Rama Krishnan Raghupathy <ramarag@microsoft.com> | 2016-03-10 18:15:03 -0800 |
commit | 3ae10f3449a203e3dbb94cff4bf3044314340cc9 (patch) | |
tree | 7191a1d5321c20c41a6d5ef032c179c125801402 /Documentation | |
parent | e483278934c3140092a4b6913fe5d7c88d5d943e (diff) | |
download | coreclr-3ae10f3449a203e3dbb94cff4bf3044314340cc9.tar.gz coreclr-3ae10f3449a203e3dbb94cff4bf3044314340cc9.tar.bz2 coreclr-3ae10f3449a203e3dbb94cff4bf3044314340cc9.zip |
Enabling standalone builds for Test Project of any Priority
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/building/windows-test-instructions.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/building/windows-test-instructions.md b/Documentation/building/windows-test-instructions.md index 6b74834048..87d0b792ba 100644 --- a/Documentation/building/windows-test-instructions.md +++ b/Documentation/building/windows-test-instructions.md @@ -35,6 +35,14 @@ To run a clean, priority 1, crossgen test pass: Additionally, there is a Visual Studio solution, `<repo_root>\tests\src\AllTestProjects.sln`, where users can build a particular testcase, or all priority 0 testcases that are within it. +**Building Individual Tests** + +Note: buildtest.cmd or build.cmd skipnative skipmscorlib needs to be run atleast once + +* Native Test: Build the generated Visual Studio solution or make file corresponding to Test cmake file. + +* Managed Test: You can invoke msbuild on the project directly from Visual Studio Command Prompt. + **Running Tests** In a clean command prompt: `<repo_root>\tests\runtest.cmd` @@ -83,3 +91,13 @@ If test changes are needed, make the change and build the test project. This wil 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. + +Note: + +1. You can disable building of a test per architecture or configuration by using DisableProjectBuild tag in the project. for example: + + ``<PropertyGroup>`` + + ``<DisableProjectBuild Condition=" '$(Platform)' == 'arm64' ">true</DisableProjectBuild>`` + + ``</PropertyGroup>`` |