From 873ae77ca537810425aa882b0aa6f4367e826752 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 --- doc/salome/examples/find_salome_actor_delegate_to_vtk.py | 7 +++++++ doc/salome/examples/tests.set | 1 + 2 files changed, 8 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..fec5f76e6 --- /dev/null +++ b/doc/salome/examples/find_salome_actor_delegate_to_vtk.py @@ -0,0 +1,7 @@ +# Find if SALOME_ACTOR_DELEGATE_TO_VTK is activated + +import salome +import os + +result = os.environ.get('SALOME_ACTOR_DELEGATE_TO_VTK') +print(result) \ No newline at end of file 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