Salome HOME
Additional fix SHAPER_HDF tests with parallelism for RESTRICTED tests cbr/fix_hdf_tests_restricted 2/head
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Fri, 20 Jan 2023 13:10:51 +0000 (14:10 +0100)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Fri, 20 Jan 2023 13:10:51 +0000 (14:10 +0100)
test.hdfs/testme.py

index b498ea29055d42a89452f1f6100cff43d16e2c82..c37a691a5322e662742341499c3b2d5e1269b116 100644 (file)
@@ -36,7 +36,8 @@ if __name__ == '__main__':
     testdatafile = sys.argv[2]
 
   tempfile = tempfile.NamedTemporaryFile()
-  testlogfile = tempfile.name + "_" + hdffile.replace(".", "_")
+  hdffile_basename = os.path.basename(hdffile)
+  testlogfile = tempfile.name + "_" + hdffile_basename.replace(".", "_")
   tempfile.close()
 
   isOk = True