mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Modify test: raise exception instead of sys.exit()
This commit is contained in:
parent
df12e1cdc5
commit
1c601522ed
@ -5,5 +5,5 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
result = 'SALOME_ACTOR_DELEGATE_TO_VTK' in os.environ
|
||||
sys.exit(int(not result))
|
||||
if 'SALOME_ACTOR_DELEGATE_TO_VTK' not in os.environ:
|
||||
raise RuntimeError('SALOME_ACTOR_DELEGATE_TO_VTK is not set!')
|
||||
|
Loading…
Reference in New Issue
Block a user