- modify test system for PARAVIS module
ADD_SUBDIRECTORY(VisuPrs)
SET(_demo_files
- demo_0_med.py
- demo_1_med.py
- demo_2_med.py
- demo_3_med.py
- demo_4_med.py
- demo_5_med.py
- demo_6_med.py
- demo_7_med.py
- demo_8_med.py
- demo_9_med.py
- demo_10_med.py
- demo_11_med.py
- demo_12_med.py
- demo_13_med.py
+ demo0.py
+ demo1.py
+ demo2.py
+ demo3.py
+ demo4.py
+ demo5.py
+ demo6.py
+ demo7.py
+ demo8.py
+ demo9.py
+ demo10.py
+ demo11.py
+ demo12.py
demo_14_med.py
demo_15_med.py
)
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-ADD_SUBDIRECTORY(
+SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
+
+SET(TEST_DIRECTORIES
Util
2D_viewer
3D_viewer
imps
dump_study
)
+
+FOREACH(test_dir ${TEST_DIRECTORIES})
+ ADD_SUBDIRECTORY(${test_dir})
+ENDFOREACH()
paravistesthelper.py
)
-FOREACH(f ${dist_testscript_DATA})
- INSTALL(FILES ${f} DESTINATION bin/salome)
-
- INSTALL(CODE "SET(PYTHON_FILE ${f})")
- INSTALL(CODE "SET(CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})")
- INSTALL(CODE "SET(DEST bin/salome)")
- INSTALL(CODE "SET(PYTHON_EXECUTABLE ${PYTHON_EXECUTABLE})")
- INSTALL(SCRIPT ${KERNEL_ROOT_DIR}/salome_adm/cmake_files/deprecated/install_and_compile_python_file.cmake)
-
-ENDFOREACH(f ${dist_testscript_DATA})
+SALOME_INSTALL_SCRIPTS("${dist_testscript_DATA}" ${SALOME_INSTALL_SCRIPT_SCRIPTS})