mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
But 535564. Remove log file after all processes are closed. r=bsmedberg
This commit is contained in:
parent
c34c2d49d8
commit
eee412ce5e
@ -681,7 +681,6 @@ def runApp(testURL, env, app, profileDir, extraArgs,
|
||||
if m:
|
||||
processList.append(int(m.group(1)))
|
||||
processLogFD.close()
|
||||
os.unlink(processLog)
|
||||
|
||||
for processPID in processList:
|
||||
log.info("INFO | automation.py | Checking for orphan process with PID: %d", processPID)
|
||||
@ -692,6 +691,9 @@ def runApp(testURL, env, app, profileDir, extraArgs,
|
||||
if checkForCrashes(os.path.join(profileDir, "minidumps"), symbolsPath):
|
||||
status = -1
|
||||
|
||||
if os.path.exists(processLog):
|
||||
os.unlink(processLog)
|
||||
|
||||
if IS_TEST_BUILD and runSSLTunnel:
|
||||
ssltunnelProcess.kill()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user