1 # Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 repairing_operations_ex09.py
26 advanced_geom_objs_ex01.py
27 advanced_geom_objs_ex02.py
28 advanced_geom_objs_ex03.py
30 arranging_study_objects.py
31 basic_geom_objs_ex01.py
32 basic_geom_objs_ex02.py
33 basic_geom_objs_ex03.py
34 basic_geom_objs_ex04.py
35 basic_geom_objs_ex05.py
36 basic_geom_objs_ex06.py
37 basic_geom_objs_ex07.py
38 basic_geom_objs_ex08.py
39 basic_geom_objs_ex09.py
40 basic_operations_ex01.py
41 basic_operations_ex02.py
42 basic_operations_ex03.py
44 blocks_operations_ex01.py
45 blocks_operations_ex02.py
46 blocks_operations_ex03.py
47 boolean_operations_ex01.py
48 boolean_operations_ex02.py
49 boolean_operations_ex03.py
50 boolean_operations_ex04.py
52 building_by_blocks_ex01.py
53 building_by_blocks_ex02.py
55 check_compound_of_blocks.py
56 check_self_intersections.py
85 repairing_operations_ex01.py
86 repairing_operations_ex02.py
87 repairing_operations_ex03.py
88 repairing_operations_ex04.py
89 repairing_operations_ex05.py
90 repairing_operations_ex06.py
91 repairing_operations_ex07.py
92 repairing_operations_ex08.py
93 repairing_operations_ex10.py
94 repairing_operations_ex11.py
95 repairing_operations_ex12.py
98 topological_geom_objs_ex01.py
99 topological_geom_objs_ex02.py
100 topological_geom_objs_ex03.py
101 topological_geom_objs_ex04.py
102 topological_geom_objs_ex05.py
103 topological_geom_objs_ex06.py
104 transformation_operations_ex01.py
105 transformation_operations_ex02.py
106 transformation_operations_ex03.py
107 transformation_operations_ex04.py
108 transformation_operations_ex05.py
109 transformation_operations_ex06.py
110 transformation_operations_ex07.py
111 transformation_operations_ex08.py
112 transformation_operations_ex09.py
113 transformation_operations_ex10.py
114 transformation_operations_ex11.py
115 transformation_operations_ex12.py
116 transformation_operations_ex13.py
117 viewing_geom_objs_ex01.py
118 viewing_geom_objs_ex02.py
119 viewing_geom_objs_ex03.py
120 viewing_geom_objs_ex04.py
122 working_with_groups_ex01.py
123 working_with_groups_ex02.py
124 working_with_groups_ex03.py
125 working_with_groups_ex04.py
126 working_with_groups_ex05.py
127 working_with_groups_ex06.py
130 SET(EXAMPLES_TESTS ${BAD_TESTS} ${GOOD_TESTS} testme.py)
132 SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
134 FOREACH(test ${GOOD_TESTS})
135 GET_FILENAME_COMPONENT(testname ${test} NAME_WE)
136 ADD_TEST(NAME ${testname}
137 COMMAND ${PYTHON_EXECUTABLE} -B ${CMAKE_SOURCE_DIR}/doc/salome/examples/testme.py ${CMAKE_CURRENT_SOURCE_DIR}/${test})
138 SET_TESTS_PROPERTIES(${testname} PROPERTIES ENVIRONMENT "${tests_env}")
141 # install Python scripts
142 SALOME_INSTALL_SCRIPTS("${EXAMPLES_TESTS}" ${SALOME_INSTALL_DOC}/examples/GEOM)