If ROOT_SALOME is not defined, the test of SalomeLauncher will be
ignored and it will not be marked as failed.
print "File salome_context.cfg not found."
print "Search path:" + salome_path
print "This test needs ROOT_SALOME environment variable in order to run"
- exit(1)
+ exit(0)
config_appli_text = '''<application>
<context path="''' + salome_context_file + '''"/>
kernel_path = os.getenv("KERNEL_ROOT_DIR", "")
if not os.path.isdir(kernel_path) :
print "KERNEL_ROOT_DIR not defined"
- exit(1)
+ exit(0)
pass
config_appli_text += kernel_path + '"/>'