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 =...")
(No difference)

Revision as of 03:35, 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.