SET(CMAKE_MODULE_PATH
"${KERNEL_ROOT_DIR}/salome_adm/cmake_files"
"${GUI_ROOT_DIR}/adm_local/cmake_files"
- "${CMAKE_SOURCE_DIR}/adm_local/cmake_files")
+ "${PROJECT_SOURCE_DIR}/adm_local/cmake_files")
INCLUDE(SalomeMacros)
INCLUDE(SalomeSetupPlatform)
# TODO: the below requires ParaView in the PYTHONPATH ... not so nice:
MESSAGE(STATUS "Generating wrapped class list (??) ...")
LIST(GET PARAVIEW_INCLUDE_DIRS 0 PARAVIEW_INCLUDE_DIR0)
-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/getwrapclasses.py ${PARAVIEW_INCLUDE_DIR0})
+EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/getwrapclasses.py ${PARAVIEW_INCLUDE_DIR0})
SET(SUBDIRS
idl
SET(SOVERSION_INFO ${VERSION_MAJOR}.${VERSION_MINOR})
ADD_DEFINITIONS(-DHAVE_SALOME_CONFIG)
-INCLUDE_DIRECTORIES(${OMNIORB_INCLUDE_DIR} ${KERNEL_ROOT_DIR}/include/salome ${CMAKE_BINARY_DIR}/idl)
+INCLUDE_DIRECTORIES(${OMNIORB_INCLUDE_DIR} ${KERNEL_ROOT_DIR}/include/salome ${PROJECT_BINARY_DIR}/idl)
INCLUDE(wrap.cmake)
INSTALL(TARGETS SalomeIDLPARAVIS DESTINATION lib/salome)
ADD_EXECUTABLE(vtkWrapIDL
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParse.tab.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParsePreprocess.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseHierarchy.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseExtras.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseMain.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseData.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseString.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkWrap.c
-# ${CMAKE_SOURCE_DIR}/src/ParaView/vtkWrapText.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParse.tab.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParsePreprocess.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseHierarchy.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseExtras.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseMain.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseData.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseString.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkWrap.c
+# ${PROJECT_SOURCE_DIR}/src/ParaView/vtkWrapText.c
${CMAKE_CURRENT_SOURCE_DIR}/vtkWrapIDL.c)
-set_property(SOURCE ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseMain.c PROPERTY COMPILE_DEFINITIONS
+set_property(SOURCE ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseMain.c PROPERTY COMPILE_DEFINITIONS
VTK_PARSE_VERSION="${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}")
ADD_DEPENDENCIES(vtkWrapIDL generate_txt)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/ParaView)
+INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/ParaView)
SET(flags)
FOREACH(f ${PLATFORM_CPPFLAGS} ${PTHREAD_CFLAGS} ${PARAVIEW_INCLUDES} ${VTK_INCLUDES})
SET(flags "${flags} ${f}")
SET(SOVERSION_INFO ${VERSION_MAJOR}.${VERSION_MINOR})
ADD_DEFINITIONS(-DHAVE_SALOME_CONFIG)
-INCLUDE_DIRECTORIES(${OMNIORB_INCLUDE_DIR} ${KERNEL_ROOT_DIR}/include/salome ${CMAKE_BINARY_DIR}/idl)
+INCLUDE_DIRECTORIES(${OMNIORB_INCLUDE_DIR} ${KERNEL_ROOT_DIR}/include/salome ${PROJECT_BINARY_DIR}/idl)
ADD_LIBRARY(PARAVISEngine SHARED PARAVIS_Engine_i.cc)
#FILE(GLOB copy_FILES "*py")
#INSTALL(FILES ${copy_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/salome/Macros)
-INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/src/Macro
+INSTALL(DIRECTORY ${PROJECT_SOURCE_DIR}/src/Macro
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/salome
FILES_MATCHING PATTERN "*.py"
PATTERN "CVS" EXCLUDE
${KERNEL_ROOT_DIR}/include/salome
${GUI_ROOT_DIR}/include/salome
${CMAKE_CURRENT_SOURCE_DIR}/../ParaView
- ${CMAKE_BINARY_DIR}/idl
- ${CMAKE_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CAS_INCLUDE_DIRS} )
FOREACH(name ${bin_PROGRAMS})
ADD_EXECUTABLE(${name}
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParse.tab.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParsePreprocess.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseHierarchy.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseExtras.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseMain.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseData.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseString.c
- ${CMAKE_SOURCE_DIR}/src/ParaView/vtkWrap.c
-# ${CMAKE_SOURCE_DIR}/src/ParaView/vtkWrapText.c
- ${CMAKE_SOURCE_DIR}/idl/vtkWrapIDL.c)
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParse.tab.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParsePreprocess.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseHierarchy.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseExtras.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseMain.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseData.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseString.c
+ ${PROJECT_SOURCE_DIR}/src/ParaView/vtkWrap.c
+# ${PROJECT_SOURCE_DIR}/src/ParaView/vtkWrapText.c
+ ${PROJECT_SOURCE_DIR}/idl/vtkWrapIDL.c)
ADD_DEPENDENCIES(${name} generate_txt)
- set_property(SOURCE ${CMAKE_SOURCE_DIR}/src/ParaView/vtkParseMain.c PROPERTY COMPILE_DEFINITIONS
+ set_property(SOURCE ${PROJECT_SOURCE_DIR}/src/ParaView/vtkParseMain.c PROPERTY COMPILE_DEFINITIONS
VTK_PARSE_VERSION="${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}")
SET(flags)
vtk_module_library(vtkMedReader ${MedReader_SRCS})
# Introducing selection for parallel compilation
-# CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/IO/config.h.cmake ${CMAKE_SOURCE_DIR}/IO/config.h )
+# CONFIGURE_FILE( ${PROJECT_SOURCE_DIR}/IO/config.h.cmake ${PROJECT_SOURCE_DIR}/IO/config.h )
CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
target_link_libraries(vtkMedReader ${MED_LIBRARIES})
A1
)
SET(TIMEOUT 10000)
- ADD_TEST(2DVIEWER_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(2DVIEWER_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(2DVIEWER_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
B2
)
SET(TIMEOUT 10000)
- ADD_TEST(3DVIEWER_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(3DVIEWER_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(3DVIEWER_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
H2
)
SET(TIMEOUT 10000)
- ADD_TEST(ANIMATION_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(ANIMATION_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(ANIMATION_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(CUTLINES_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(CUTLINES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(CUTLINES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(CUTPLANES_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(CUTPLANES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(CUTPLANES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
F9
)
SET(TIMEOUT 10000)
- ADD_TEST(DEFORMEDSHAPE_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(DEFORMEDSHAPE_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(DEFORMEDSHAPE_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
C7
)
SET(TIMEOUT 10000)
- ADD_TEST(GAUSSPOINTS_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(GAUSSPOINTS_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(GAUSSPOINTS_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(ISOSURFACES_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(ISOSURFACES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(ISOSURFACES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
L1
)
SET(TIMEOUT 10000)
- ADD_TEST(MESH_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(MESH_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(MESH_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(PLOT3D_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(PLOT3D_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(PLOT3D_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
C7
)
SET(TIMEOUT 10000)
- ADD_TEST(SWIGSCRIPTS_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(SWIGSCRIPTS_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(SWIGSCRIPTS_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(SCALARMAP_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(SCALARMAP_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(SCALARMAP_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
F8
)
SET(TIMEOUT 10000)
- ADD_TEST(DEFORMEDSHAPESCALARMAP_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(DEFORMEDSHAPESCALARMAP_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(DEFORMEDSHAPESCALARMAP_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
F9
)
SET(TIMEOUT 10000)
- ADD_TEST(STREAMLINES_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(STREAMLINES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(STREAMLINES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
A2
)
SET(TIMEOUT 10000)
- ADD_TEST(TABLES_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(TABLES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(TABLES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
F9
)
SET(TIMEOUT 10000)
- ADD_TEST(VECTORS_${tfile} ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(VECTORS_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
SET_TESTS_PROPERTIES(VECTORS_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)