Documentation/Nightly/Developers/Build Instructions/Test

From Slicer Wiki
Revision as of 03:35, 21 May 2016 by JChris.FillionR (talk | contribs) (Created page with "<noinclude>{{documentation/versioncheck}}</noinclude> == TEST Slicer == After building, run the tests in the <code>Slicer-SuperBuild/Slicer-build</code> directory {|width =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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.