diff options
author | Rama krishnan Raghupathy <ramarag@microsoft.com> | 2016-03-14 18:53:57 -0700 |
---|---|---|
committer | Rama krishnan Raghupathy <ramarag@microsoft.com> | 2016-03-14 18:53:57 -0700 |
commit | abee46fba5a857192fe05a02ac51704efbe96a45 (patch) | |
tree | 5931895ff7f559d8b7774f9925df486a582a8e53 /Documentation | |
parent | c1b4db9eb714b8a7e7d7ace75bf52db1455cefa9 (diff) | |
parent | 3ae10f3449a203e3dbb94cff4bf3044314340cc9 (diff) | |
download | coreclr-abee46fba5a857192fe05a02ac51704efbe96a45.tar.gz coreclr-abee46fba5a857192fe05a02ac51704efbe96a45.tar.bz2 coreclr-abee46fba5a857192fe05a02ac51704efbe96a45.zip |
Merge pull request #3634 from ramarag/testbuild
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>`` |