From 907bf7e8577ad0657caba7b15b02c5b2f5373f86 Mon Sep 17 00:00:00 2001 From: EMMANUEL STREBY Date: Mon, 16 Aug 2021 17:11:00 +0200 Subject: [PATCH] Add test for SALOME_ACTOR_DELEGATE_TO_VTK Fix test --- doc/salome/examples/find_salome_actor_delegate_to_vtk.py | 9 +++++++++ doc/salome/examples/tests.set | 1 + 2 files changed, 10 insertions(+) create mode 100644 doc/salome/examples/find_salome_actor_delegate_to_vtk.py 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 index 000000000..e008b7604 --- /dev/null +++ b/doc/salome/examples/find_salome_actor_delegate_to_vtk.py @@ -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)) diff --git a/doc/salome/examples/tests.set b/doc/salome/examples/tests.set index d674d6471..ec4a639a1 100644 --- a/doc/salome/examples/tests.set +++ b/doc/salome/examples/tests.set @@ -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 -- 2.39.2