But 535564. Remove log file after all processes are closed. r=bsmedberg

This commit is contained in:
Jonathan Griffin 2009-12-22 15:13:59 -08:00
parent 4b537e927a
commit 045e42c873

View File

@ -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()