Salome HOME
Revert "Synchronize adm files"
[modules/paravis.git] / test / VisuPrs / CMakeLists.txt
1 # Copyright (C) 2010-2014  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 SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
22
23 IF(NOT WIN32)
24   # Special case for the PV_PLUGIN_PATH environment variable:
25   # PV_PLUGIN_PATH=VAL_1;VAL_2;...;VAL_N
26   # But the ';' character is used as separator between variables (PATH, LD_LIBRARY_PATH, etc...)
27   # So we should shield a sequence ";/" by the '\' character.
28   STRING(REGEX REPLACE ";/" "\\\\;/" tests_env "${tests_env}")
29 ENDIF(NOT WIN32)
30
31 SET(PARAVIS_TEST_HELPER_FILE ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py)
32
33 SET(TEST_DIRECTORIES 
34   Util
35   2D_viewer
36   3D_viewer
37   ScalarMap
38   DeformedShape
39   ScalarMap_On_DeformedShape
40   CutPlanes
41   CutLines
42   Vectors
43   Plot3D
44   IsoSurfaces
45   MeshPresentation
46   Animation
47   GaussPoints
48   StreamLines
49   SWIG_scripts
50   Tables
51   ImportMedField
52   united
53   bugs
54   imps
55   dump_study
56 )
57   
58 FOREACH(test_dir ${TEST_DIRECTORIES})
59   ADD_SUBDIRECTORY(${test_dir})
60 ENDFOREACH()