Difference between revisions of "Documentation/Nightly/Developers/Build Instructions/Test"

From Slicer Wiki
Jump to: navigation, search
(Created page with "<noinclude>{{documentation/versioncheck}}</noinclude> == TEST Slicer == After building, run the tests in the <code>Slicer-SuperBuild/Slicer-build</code> directory {|width =...")
 
 
Line 23: Line 23:
 
</ol>
 
</ol>
 
<small>Note: '''RUN_TESTS''' project can be found in the '''CMakePredefinedTargets''' folder. See [http://slicer-devel.65872.n3.nabble.com/Easier-development-using-Visual-Studio-with-introduction-of-target-folders-td4033427.html here] for more details.</small>
 
<small>Note: '''RUN_TESTS''' project can be found in the '''CMakePredefinedTargets''' folder. See [http://slicer-devel.65872.n3.nabble.com/Easier-development-using-Visual-Studio-with-introduction-of-target-folders-td4033427.html here] for more details.</small>
 +
 +
[[File:Slicer-vs2013-CMakePredefinedTargets-RUN_TESTS.png]]
  
 
|}
 
|}

Latest revision as of 03:44, 21 May 2016

Home < Documentation < Nightly < Developers < Build Instructions < Test


For the latest Slicer documentation, visit the read-the-docs.


TEST Slicer

After building, run the tests in the Slicer-SuperBuild/Slicer-build directory

Linux or MacOSX (Makefile) Windows (Visual Studio)

Start a terminal.

$ cd ~/Projects/Slicer-SuperBuild/Slicer-build

$ ctest -j<NUMBEROFCORES>

Start Windows Explorer. Need help?

  1. Open Slicer-SuperBuild\Slicer.sln in Visual Studio
  2. Select build configuration. Usually Release or Debug
  3. In the Solution Explorer, right click on RUN_TESTS project and then select Build

Note: RUN_TESTS project can be found in the CMakePredefinedTargets folder. See here for more details.

Slicer-vs2013-CMakePredefinedTargets-RUN TESTS.png