Commit 174add05 authored by partyd's avatar partyd
Browse files

ENH: add a simple test for numpy as an extra check if numpy built and installed correctly.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@13857 3bd1e089-480b-0410-8dfb-8563597acbee
parent c0076f4a
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Testing # Testing
ADD_TEST(Slicer3PythonTest ${Slicer3_BINARY_DIR}/Slicer3 --test-mode --script ${Slicer3_SOURCE_DIR}/Base/GUI/Python/Testing/SimpleTest.py) ADD_TEST(Slicer3PythonTest ${Slicer3_BINARY_DIR}/Slicer3 --test-mode --script ${Slicer3_SOURCE_DIR}/Base/GUI/Python/Testing/SimpleTest.py)
IF(Slicer3_USE_NUMPY)
ADD_TEST(Slicer3PythonSimpleNUMPYTest ${Slicer3_BINARY_DIR}/Slicer3 --test-mode --script ${Slicer3_SOURCE_DIR}/Base/GUI/Python/Testing/SimpleNUMPYTest.py)
ENDIF(Slicer3_USE_NUMPY)
import numpy
Slicer.tk.eval('exit 0')
...@@ -10,9 +10,6 @@ project(Slicer3) ...@@ -10,9 +10,6 @@ project(Slicer3)
enable_language(C) enable_language(C)
enable_language(CXX) enable_language(CXX)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# See http://cmake.org/cmake/help/cmake-2-8-docs.html#section_Policies for details # See http://cmake.org/cmake/help/cmake-2-8-docs.html#section_Policies for details
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment