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