# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(BASE_TESTS A0)
-SET(ALL_TESTS A0 A1)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/2D_viewer)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES A0 A1)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_2DVIEWER_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" 2DVIEWER BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" 2DVIEWER EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0)
+
+SET(EXTRA_TESTS A1)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/3D_viewer)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_3DVIEWER_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" 3DVIEWER BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" 3DVIEWER EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A1 B0)
+
+SET(EXTRA_TESTS A2 A3 A4 A5 A6 A7 A8 A9 B1 B2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/Animation)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_ANIMATION_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" ANIMATION BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" ANIMATION EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A1 B2 C0 D1 E0 F2 G0 H1)
+
+SET(EXTRA_TESTS A0 A2 A4 A7 A8 B5 B6 C1 C3 C8 D2 D6 D9
+ E4 E7 E8 F5 F6 G3 G4 G8 H2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+# Define a label for base tests only: PARAVIS_BASE
+# Define a label for extra tests only: PARAVIS_EXTRA
+# Then calling ctest with the label PARAVIS will automatically use both PARAVIS_BASE and PARAVIS_EXTRA
+MACRO(DEFINE_PARAVIS_TEST test_files name label)
+ FOREACH(tfile ${test_files})
+ SET(TEST_NAME ${COMPONENT_NAME}_${name}_${tfile})
+ ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
+ SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}_${label}")
+ ENDFOREACH()
+ENDMACRO()
+
SET(TEST_DIRECTORIES
2D_viewer
3D_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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(CUTLINES_F4 PROPERTIES TIMEOUT 5000)
ENDIF()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/CutLines)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_CUTLINES_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" CUTLINES BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" CUTLINES EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B0 E0 F1 G0)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B1 B2
+ E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F2 F3 F4 F5 F6 F8 F9 G1 G2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/CutPlanes)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_CUTPLANES_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" CUTPLANES BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" CUTPLANES EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B0 E0 F1 G0)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B1 B2 B3
+ E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F2 F3 F4 F5 F6 F8 F9 G1 G2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 F8 F9)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/DeformedShape)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 F8 F9)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_DEFORMEDSHAPE_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" DEFORMEDSHAPE BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" DEFORMEDSHAPE EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B0 E0 F1)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B1 B2 B3 B4
+ E1 E2 E3 E4 E5 E6 E7 E8 E9 F2 F3 F4 F5 F6 F8 F9)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 C6 C7 C8 C9)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/GaussPoints)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 C6 C7 C8 C9)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_GAUSSPOINTS_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" GAUSSPOINTS BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" GAUSSPOINTS EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A2 B0 C0)
+
+SET(EXTRA_TESTS A0 A1 A3 A4 A5 A6 A7 A9 B1 B2 B3 B4 B5 B6 B7 B8 B9
+ C1 C2 C3 C4 C6 C7 C8 C9)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 B4 B5 B6 B7 B8 B9 C0 C1 C2)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/ImportMedField)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B4 B5 B6 B7 B8 B9 C0 C1 C2)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_IMPORTMEDFIELD_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" IMPORTMEDFIELD BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" IMPORTMEDFIELD EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B0 C0)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B1 B2 B4 B5 B6 B7 B8 B9 C1 C2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/IsoSurfaces)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_ISOSURFACES_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" ISOSURFACES BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" ISOSURFACES EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B0 E1 F1)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B1 B2
+ E0 E2 E3 E4 E5 E6 E7 E8 E9 F2 F3 F4 F5 F6 F8 F9 G0 G1 G2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 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)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/MeshPresentation)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 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)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_MESH_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" MESH BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" MESH EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B0 E2 F2 G3 H1 I0 J0 K1 L0)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B1 B2 E0 E1 E3 E4 E5 E6 E7 E8 E9
+ F1 F3 F4 F5 F6 F8 F9 G0 G1 G4 G5 G6 G7 G8 G9
+ H0 H2 H3 H4 H5 H6 H7 H8 H9 I1 I2 I3 I4 I5 I6 I7 I8 I9
+ J1 J2 J3 J4 J5 J6 J7 J8 J9 K0 K2 K3 K4 K5 K6 K7 K8 K9 L1)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/Plot3D)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_PLOT3D_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" PLOT3D BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" PLOT3D EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A1 B0 E0 F1 G0)
+
+SET(EXTRA_TESTS A0 A2 A3 A4 A5 A6 A7 A8 A9 B1 B2 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F2 F3 F4 F5 F6 F8 F9 G1 G2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/SWIG_scripts)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES A1 A3 A4 A5 A6 A7 A8 A9 B0 B1 B4 B5 B6 B7 B8 B9 C3 C6 C7)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_SWIGSCRIPTS_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" SWIGSCRIPTS BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" SWIGSCRIPTS EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A3 B0 C3)
+
+SET(EXTRA_TESTS A1 A4 A5 A6 A7 A8 A9 B1 B4 B5 B6 B7 B8 B9 C6 C7)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/ScalarMap)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_SCALARMAP_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" SCALARMAP BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" SCALARMAP EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A1 B0 E0 F3 G0)
+
+SET(EXTRA_TESTS A0 A2 A3 A4 A5 A6 A7 A8 A9 B1 B2 B3 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F1 F2 F4 F5 F6 F8 F9 G1 G2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 F8)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/ScalarMap_On_DeformedShape)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 F8)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_DEFORMEDSHAPESCALARMAP_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" DEFORMEDSHAPESCALARMAP BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" DEFORMEDSHAPESCALARMAP EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B0 E0 F2)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B1 B2 B3 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F1 F3 F4 F5 F6 F8)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 F8 F9 G0)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/StreamLines)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 F8 F9 G0)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_STREAMLINES_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" STREAMLINES BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" STREAMLINES EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A1 B2 E0 F2)
+
+SET(EXTRA_TESTS A0 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B3 B4
+ E1 E2 E3 E4 E5 E6 E7 E8 E9 F1 F3 F4 F5 F6 F8 F9 G0)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(BASE_TESTS A0)
-SET(ALL_TESTS A0 A2)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/Tables)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES A0 A2)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_TABLES_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" TABLES BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" TABLES EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0)
+
+SET(EXTRA_TESTS A2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 F8 F9)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/Vectors)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-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 F8 F9)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_VECTORS_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" VECTORS BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" VECTORS EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B1 E0 F1)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B2 B3 E1 E2 E3 E4 E5 E6 E7 E8 E9
+ F2 F3 F4 F5 F6 F8 F9)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(BASE_TESTS A0 B1 C3 E0)
-SET(ALL_TESTS A0 A1 A2 A3 A4 A5 A6 A7 A9 B1 C3 C5 C6 C9
- D1 D3 D6 D7 E0)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/bugs)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A9 B1 C3 C5 C6 C9
- D1 D3 D6 D7 E0)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_BUGS_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" BUGS BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" BUGS EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B1 C3 E0)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A9 C5 C6 C9
+ D1 D3 D6 D7)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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 B3 B4 B5)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/dump_study)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B3 B4 B5)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_DUMPSTUDY_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" DUMPSTUDY BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" DUMPSTUDY EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A0 B0)
+
+SET(EXTRA_TESTS A1 A2 A3 A4 A5 A6 A7 A8 A9 B3 B4 B5)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/imps)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES A1 A2 A3 A4 A6 A9 B1 B2)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_IMPS_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" IMPS BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" IMPS EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A1 B1)
+
+SET(EXTRA_TESTS A2 A3 A4 A6 A9 B2)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()
# 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)
+INCLUDE(tests.set)
# For make test
-IF(SALOME_PARAVIS_ALL_TEST)
- SET(TEST_NAMES ${ALL_TESTS})
-ELSE()
- 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}
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-# Application tests
+# For salome test
SET(APPLICATION_TESTS ${ALL_TESTS})
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs/united)
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES A1 A2 A4 A5 B0)
+INCLUDE(tests.set)
-FOREACH(tfile ${TEST_NAMES})
- SET(TEST_NAME ${COMPONENT_NAME}_UNITED_${tfile})
- ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
- SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" UNITED BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" UNITED EXTRA)
--- /dev/null
+# Copyright (C) 2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+# This file declares a shared set of PARAVIS tests, used by two test
+# approaches: "make test" and "salome test". The former is used just after
+# PARAVIS build step, the latter is used from an installed SALOME application.
+#
+# We here initialize some cmake variables that are used, by file inclusion, in
+# CMakeLists.txt (for make test) and CTestTestfileInstall.cmake (for salome
+# test).
+# These variables are: BASE_TESTS, EXTRA_TESTS and ALL_TESTS. The latter is
+# the joint set of base and extra tests.
+# Additional variables might be defined if necessary.
+
+SET(BASE_TESTS A2 B0)
+
+SET(EXTRA_TESTS A1 A4 A5)
+
+SET(ALL_TESTS ${BASE_TESTS} ${EXTRA_TESTS})
+
+# Variable used in ADD_TEST directive
+IF(SALOME_PARAVIS_ALL_TEST)
+ SET(TEST_NAMES ${ALL_TESTS})
+ELSE()
+ SET(TEST_NAMES ${BASE_TESTS})
+ENDIF()