# 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()