Salome HOME
update test execution procedure
[modules/paravis.git] / test / VisuPrs / CMakeLists.txt
1 # Copyright (C) 2010-2015  CEA/DEN, EDF R&D
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 #SET(TIMEOUT 10000)
21 SET(TIMEOUT 900)
22 SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
23
24 IF(NOT WIN32)
25   # Special case for the PV_PLUGIN_PATH environment variable:
26   # PV_PLUGIN_PATH=VAL_1;VAL_2;...;VAL_N
27   # But the ';' character is used as separator between variables (PATH, LD_LIBRARY_PATH, etc...)
28   # So we should shield a sequence ";/" by the '\' character.
29   STRING(REGEX REPLACE ";/" "\\\\;/" tests_env "${tests_env}")
30 ENDIF(NOT WIN32)
31
32 SET(PARAVIS_TEST_HELPER_FILE ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py)
33
34 SET(TEST_DIRECTORIES
35   Util
36   2D_viewer
37   3D_viewer
38   ScalarMap
39   DeformedShape
40   ScalarMap_On_DeformedShape
41   CutPlanes
42   CutLines
43   Vectors
44   Plot3D
45   IsoSurfaces
46   MeshPresentation
47   Animation
48   GaussPoints
49   StreamLines
50   SWIG_scripts
51   Tables
52   ImportMedField
53   united
54   bugs
55   imps
56   dump_study
57 )
58
59 FOREACH(test_dir ${TEST_DIRECTORIES})
60   ADD_SUBDIRECTORY(${test_dir})
61 ENDFOREACH()