-# Copyright (C) 2010-2013 CEA/DEN, EDF R&D
+# Copyright (C) 2010-2015 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.
+# 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
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TIMEOUT 10000)
+# For make test
+
+SET(TIMEOUT 1000)
SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
IF(NOT WIN32)
STRING(REGEX REPLACE ";/" "\\\\;/" tests_env "${tests_env}")
ENDIF(NOT WIN32)
-SET(PARAVIS_TEST_HELPER_FILE ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py)
+SET(SALOME_TEST_DRIVER "${KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py")
+
+# Common part
-SET(TEST_DIRECTORIES
+SET(TEST_DIRECTORIES
Util
2D_viewer
3D_viewer
GaussPoints
StreamLines
SWIG_scripts
- Tables
+# Tables table reader is not used anymore and CSVReader
+# doesn't suport txt and xls formats, so switch off Tables tests
ImportMedField
united
bugs
imps
dump_study
)
-
+
FOREACH(test_dir ${TEST_DIRECTORIES})
ADD_SUBDIRECTORY(${test_dir})
ENDFOREACH()
+
+# Application tests
+INSTALL(FILES CTestTestfileInstall.cmake
+ DESTINATION ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs
+ RENAME CTestTestfile.cmake)