]> SALOME platform Git repositories - modules/shaper.git/blobdiff - test.hdfs/testme.py
Salome HOME
Tuleap24729. Full porting in SSL of BearingSeparator;Test20456;Test3061;Test3139...
[modules/shaper.git] / test.hdfs / testme.py
index cd56bcd3a4e9ce1ed5349c5a8406668813a01406..9dd3ebc0e200e1cba0a38d9ca5c93711f38da4ec 100644 (file)
@@ -36,18 +36,12 @@ if __name__ == '__main__':
     testdatafile = sys.argv[2]
 
   tempdir = tempfile.gettempdir()
-  portlogfile = tempdir + "/.salome_port"
   testlogfile = tempdir + "/test.log"
-  # remove port file if any
-  try:
-    os.remove(portlogfile)
-  except:
-    pass
 
   isOk = True
   error = ""
 
-  proc = subprocess.Popen(["runSalome.py", "--modules", "SHAPER,GEOM,SHAPERSTUDY", "--gui", "--splash", "0", "--ns-port-log=" + portlogfile, "test_hdf.py", "args:" + hdffile + "," + testdatafile + "," + portlogfile + "," + testlogfile], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
+  proc = subprocess.Popen(["runSalomeSL.py", "--modules", "SHAPER,GEOM,SHAPERSTUDY", "--gui", "--splash", "0", "test_hdf.py", "args:" + hdffile + "," + testdatafile + "," + testlogfile], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
   try:
     proc.communicate(timeout = testTimeout)
   except TimeoutExpired: