# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0)
+SET(ALL_TESTS A0 A1)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME 2DVIEWER_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/2D_viewer)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A1 B0)
+SET(ALL_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A1 B0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME 3DVIEWER_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/3D_viewer)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A1 B2 C0 D1 E0 F2 G0 H1)
+SET(ALL_TESTS A0 A1 A2 A4 A7 A8 B2 B5 B6 C0 C1 C3 C8 D1 D2 D6 D9
+ E0 E4 E7 E8 F2 F5 F6 G0 G3 G4 G8 H1 H2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A4 A7 A8 B2 B5 B6 C0 C1 C3 C8 D1 D2 D6 D9
- E0 E4 E7 E8 F2 F5 F6 G0 G3 G4 G8 H1 H2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A1 B2 C0 D1 E0 F2 G0 H1)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME ANIMATION_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/Animation)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+# For make test
+
+SET(TIMEOUT 1000)
+SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
+
+IF(NOT WIN32)
+ # Special case for the PV_PLUGIN_PATH environment variable:
+ # PV_PLUGIN_PATH=VAL_1;VAL_2;...;VAL_N
+ # But the ';' character is used as separator between variables (PATH, LD_LIBRARY_PATH, etc...)
+ # So we should shield a sequence ";/" by the '\' character.
+ STRING(REGEX REPLACE ";/" "\\\\;/" tests_env "${tests_env}")
+ENDIF(NOT WIN32)
+
+SET(SALOME_TEST_DRIVER "${KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py")
+
+# Common part
+
SET(TEST_DIRECTORIES
Util
2D_viewer
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B0 E0 F1 G0)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2
+ E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2
- E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
- F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B0 E0 F1 G0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME CUTLINES_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/CutLines)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B0 E0 F1 G0)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3
+ E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3
- E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
- F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B0 E0 F1 G0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME CUTPLANES_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/CutPlanes)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B0 E0 F1)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 B4
+ E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 F1 F2 F3 F4 F5 F6 F7 F8 F9)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 B4
- E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 F1 F2 F3 F4 F5 F6 F7 F8 F9)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B0 E0 F1)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME DEFORMEDSHAPE_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/DeformedShape)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A2 B0 C0)
+SET(ALL_TESTS A0 A1 A3 A4 A5 A6 A7 A9 B0 B1 B2 B3 B4 B5 B6 B7 B8 B9
+ C0 C1 C2 C3 C4 C5 C6 C7 C8 C9)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A3 A4 A5 A6 A7 A9 B0 B1 B2 B3 B4 B5 B6 B7 B8 B9
- C0 C1 C2 C3 C4 C5 C6 C7 C8 C9)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A2 B0 C0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME GAUSSPOINTS_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/GaussPoints)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B0 C0)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 C0 C1 C2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 C0 C1 C2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B0 C0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME IMPORTMEDFIELD_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/ImportMedField)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B0 E1 F1)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2
+ E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2
- E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B0 E1 F1)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME ISOSURFACES_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/IsoSurfaces)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B0 E2 F2 G3 H1 I0 J0 K1 L0)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G3 G4 G5 G6 G7 G8 G9
+ H0 H1 H2 H3 H4 H5 H6 H7 H8 H9 I0 I1 I2 I3 I4 I5 I6 I7 I8 I9
+ J0 J1 J2 J3 J4 J5 J6 J7 J8 J9 K0 K1 K2 K3 K4 K5 K6 K7 K8 K9 L0 L1)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
- F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G3 G4 G5 G6 G7 G8 G9
- H0 H1 H2 H3 H4 H5 H6 H7 H8 H9 I0 I1 I2 I3 I4 I5 I6 I7 I8 I9
- J0 J1 J2 J3 J4 J5 J6 J7 J8 J9 K0 K1 K2 K3 K4 K5 K6 K7 K8 K9 L0 L1)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B0 E2 F2 G3 H1 I0 J0 K1 L0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME MESH_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/MeshPresentation)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A1 B0 E0 F1 G0)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
- F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A1 B0 E0 F1 G0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME PLOT3D_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/Plot3D)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A3 B0 C3)
+SET(ALL_TESTS A1 A3 A4 A5 A6 A7 A8 A9 B0 B1 B4 B5 B6 B7 B8 B9 C3 C6 C7)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A1 A3 A4 A5 A6 A7 A8 A9 B0 B1 B4 B5 B6 B7 B8 B9 C3 C6 C7)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A3 B0 C3)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME SWIGSCRIPTS_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/SWIG_scripts)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A1 B0 E0 F3 G0)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
- F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A1 B0 E0 F3 G0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME SCALARMAP_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/ScalarMap)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B0 E0 F2)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F1 F2 F3 F4 F5 F6 F7 F8)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
- F1 F2 F3 F4 F5 F6 F7 F8)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B0 E0 F2)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME DEFORMEDSHAPESCALARMAP_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/ScalarMap_On_DeformedShape)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A1 B2 E0 F2)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 B4
+ E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 F1 F2 F3 F4 F5 F6 F7 F8 F9 G0)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 B4
- E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 F1 F2 F3 F4 F5 F6 F7 F8 F9 G0)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A1 B2 E0 F2)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME STREAMLINES_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/StreamLines)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0)
+SET(ALL_TESTS A0 A2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME TABLES_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/Tables)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B1 E0 F1)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F1 F2 F3 F4 F5 F6 F7 F8 F9)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
- F1 F2 F3 F4 F5 F6 F7 F8 F9)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B1 E0 F1)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME VECTORS_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/Vectors)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B1 C3 D0 E0)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A9 B1 C3 C4 C5 C6 C7 C8 C9
+ D0 D1 D3 D5 D6 D7 E0)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A9 B1 C3 C4 C5 C6 C7 C8 C9
- D0 D1 D3 D5 D6 D7 E0)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B1 C3 D0 E0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME BUGS_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/bugs)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A0 B0)
+SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B3 B4 B5)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B3 B4 B5)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A0 B0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME DUMPSTUDY_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/dump_study)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A1 B1)
+SET(ALL_TESTS A1 A2 A3 A4 A6 A9 B1 B2)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A1 A2 A3 A4 A6 A9 B1 B2)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A1 B1)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME IMPS_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/imps)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+SET(BASE_TESTS A2 B0)
+SET(ALL_TESTS A1 A2 A4 A5 B0)
+
+# For make test
IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES A1 A2 A4 A5 B0)
+ SET(TEST_NAMES ${ALL_TESTS})
ELSE()
- SET(TEST_NAMES A2 B0)
+ SET(TEST_NAMES ${BASE_TESTS})
ENDIF()
+FOREACH(tfile ${TEST_NAMES})
+ SET(TEST_NAME UNITED_${tfile})
+ ADD_TEST(${TEST_NAME} ${PYTHON_EXECUTABLE} ${SALOME_TEST_DRIVER} ${TIMEOUT}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ENDFOREACH()
+
# Application tests
+SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/united)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${APPLICATION_TESTS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()