Salome HOME
Fix EDF tests
[modules/paravis.git] / test / CMakeLists.txt
index 43f8145cc31b38164df1eea7df380961b250a2bb..4bc586face842415587e6607938f9d4ab860718c 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2010-2013  CEA/DEN, EDF R&D
+# Copyright (C) 2010-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.
+# 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
 #
 
-SUBDIRS(VisuPrs)
+ADD_SUBDIRECTORY(VisuPrs)
+ADD_SUBDIRECTORY(standalone)
 
+SET(_demo_files
+  demo0.py
+  demo1.py
+  demo2.py
+  demo3.py
+  demo4.py
+  demo5.py
+  demo6.py
+  demo7.py
+  demo8.py
+  demo9.py
+  demo10.py
+  demo11.py
+  demo12.py
+  demo_14_med.py
+  demo_15_med.py
+  )
+
+SALOME_INSTALL_SCRIPTS("${_demo_files}" ${SALOME_INSTALL_SCRIPT_PYTHON})
+
+# Application tests
+INSTALL(FILES CTestTestfileInstall.cmake
+  DESTINATION ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test
+  RENAME CTestTestfile.cmake)