Salome HOME
Fix EDF tests
[modules/paravis.git] / test / CMakeLists.txt
index 4cc1f0f248b6bf4d8a3335f33033f6ba73690b8b..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
 #
 
 ADD_SUBDIRECTORY(VisuPrs)
+ADD_SUBDIRECTORY(standalone)
 
 SET(_demo_files
-  demo_0_med.py
-  demo_1_med.py
-  demo_2_med.py
-  demo_3_med.py
-  demo_4_med.py
-  demo_5_med.py
-  demo_6_med.py
-  demo_7_med.py
-  demo_8_med.py
-  demo_9_med.py
-  demo_10_med.py
-  demo_11_med.py
-  demo_12_med.py
-  demo_13_med.py
+  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
   )
-INSTALL_AND_COMPILE_PYTHON_FILE("${_demo_files}" ${SALOME_INSTALL_SCRIPT_PYTHON})
-  
\ No newline at end of file
+
+SALOME_INSTALL_SCRIPTS("${_demo_files}" ${SALOME_INSTALL_SCRIPT_PYTHON})
+
+# Application tests
+INSTALL(FILES CTestTestfileInstall.cmake
+  DESTINATION ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test
+  RENAME CTestTestfile.cmake)