Documentation/4.6/Developers/Build Instructions/Test

From Slicer Wiki
Revision as of 07:12, 7 November 2016 by UpdateBot (talk | contribs) (Nightly -> 4.6)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Documentation < 4.6 < 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