]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Add test for SALOME_ACTOR_DELEGATE_TO_VTK
authorEMMANUEL STREBY <emmanuel-externe.streby@edf.fr>
Mon, 16 Aug 2021 15:11:00 +0000 (17:11 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 18 Aug 2021 12:52:16 +0000 (14:52 +0200)
Fix test

doc/salome/examples/find_salome_actor_delegate_to_vtk.py [new file with mode: 0644]
doc/salome/examples/tests.set

diff --git a/doc/salome/examples/find_salome_actor_delegate_to_vtk.py b/doc/salome/examples/find_salome_actor_delegate_to_vtk.py
new file mode 100644 (file)
index 0000000..e008b76
--- /dev/null
@@ -0,0 +1,9 @@
+
+
+# Find if SALOME_ACTOR_DELEGATE_TO_VTK is activated
+
+import os
+import sys
+
+result = 'SALOME_ACTOR_DELEGATE_TO_VTK' in os.environ
+sys.exit(int(not result))
index d674d6471dd49d8d2f83e75cfe3e043734800970..ec4a639a1895ffb0cc8f2683adf44eeb37ce9c97 100644 (file)
@@ -113,6 +113,7 @@ SET(GOOD_TESTS
   filters_ex39.py
   filters_node_nb_conn.py
   filters_belong2group.py
+  find_salome_actor_delegate_to_vtk.py
   grouping_elements_ex01.py
   grouping_elements_ex02.py
   grouping_elements_ex03.py