From: eap Date: Wed, 20 Oct 2021 16:30:23 +0000 (+0300) Subject: bos #26515 [CEA 24622] Failing SMESH tests X-Git-Tag: V9_8_0b1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=63d89b45fcdffeb46a091cc64e58f7d44b1b355f;p=modules%2Fsmesh.git bos #26515 [CEA 24622] Failing SMESH tests make log file name unique --- diff --git a/src/Tools/blocFissure/CasTests/blocFissureTest.py b/src/Tools/blocFissure/CasTests/blocFissureTest.py index 49585fc20..8c2d51f45 100755 --- a/src/Tools/blocFissure/CasTests/blocFissureTest.py +++ b/src/Tools/blocFissure/CasTests/blocFissureTest.py @@ -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 diff --git a/src/Tools/blocFissure/gmu/initLog.py b/src/Tools/blocFissure/gmu/initLog.py index ee9d1863d..c665e5c75 100644 --- a/src/Tools/blocFissure/gmu/initLog.py +++ b/src/Tools/blocFissure/gmu/initLog.py @@ -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