mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +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 os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
result = 'SALOME_ACTOR_DELEGATE_TO_VTK' in os.environ
|
if 'SALOME_ACTOR_DELEGATE_TO_VTK' not in os.environ:
|
||||||
sys.exit(int(not result))
|
raise RuntimeError('SALOME_ACTOR_DELEGATE_TO_VTK is not set!')
|
||||||
|
Loading…
Reference in New Issue
Block a user