]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
bos #26515 [CEA 24622] Failing SMESH tests
authoreap <eap@opencascade.com>
Wed, 20 Oct 2021 16:30:23 +0000 (19:30 +0300)
committereap <eap@opencascade.com>
Wed, 20 Oct 2021 16:30:23 +0000 (19:30 +0300)
 make log file name unique

src/Tools/blocFissure/CasTests/blocFissureTest.py
src/Tools/blocFissure/gmu/initLog.py

index 49585fc208921f0c4f2ed1923160139f3de8a27a..8c2d51f4581f87389fe0cf9582e189c8048dc090 100755 (executable)
@@ -47,7 +47,7 @@ from blocFissure.gmu import initLog
 from blocFissure.gmu.casStandard import casStandard
 
 # -----------------------------------------------------------------------------------------------
-LOGFILE = os.path.join(tempfile.gettempdir(),"blocFissure.log")
+LOGFILE = tempfile.NamedTemporaryFile().name + "_blocFissure.log"
 #initLog.setDebug(LOGFILE)     # debug = 10
 #initLog.setVerbose(LOGFILE)   # info = 20
 #initLog.setRelease(LOGFILE)   # warning = 30
index ee9d1863d6770ffb9a619642bb1fb2a02afa9ab0..c665e5c75642c70002cd284cdec47c920764ac2c 100644 (file)
@@ -30,7 +30,7 @@ error = 40
 critical = 50
 always = 100
 
-LOGFILE = os.path.join(tempfile.gettempdir(),"blocFissure.log")
+LOGFILE = tempfile.NamedTemporaryFile().name + "_blocFissure.log"
 
 LOG_LEVEL = warning