Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b15df2
)
Fix hangup of make check due to problem with SALOME session killing
author
vsr
<vsr@opencascade.com>
Thu, 14 Feb 2013 07:00:36 +0000
(07:00 +0000)
committer
vsr
<vsr@opencascade.com>
Thu, 14 Feb 2013 07:00:36 +0000
(07:00 +0000)
doc/salome/examples/testme.py
patch
|
blob
|
history
diff --git
a/doc/salome/examples/testme.py
b/doc/salome/examples/testme.py
index b1328b5967c810501d98fbfa7b1957fb67267fb3..c870ab656b0bf27485ec4fb03a260c49bf964cb9 100755
(executable)
--- a/
doc/salome/examples/testme.py
+++ b/
doc/salome/examples/testme.py
@@
-1,6
+1,6
@@
#!/usr/bin/env python
-import unittest, sys
+import unittest, sys
, os
class SalomeSession(object):
def __init__(self, script):
@@
-10,11
+10,10
@@
class SalomeSession(object):
sys.argv += ["--modules=GEOM,MED,SMESH"]
sys.argv += ["--execute=%s" % script]
clt, d = runSalome.main()
- self.port = d['port']
return
def __del__(self):
- port =
self.port
+ port =
os.getenv('NSPORT')
import killSalomeWithPort
killSalomeWithPort.killMyPort(port)
return