зеркало из https://github.com/mozilla/gecko-dev.git
Bug 808410 - checkForCrashes should return true for cases where we hit an exception during minidump stackwalk; r=jmaher
This commit is contained in:
Родитель
bb1131372a
Коммит
b138aec7f5
|
@ -146,7 +146,6 @@ def checkForCrashes(dumpDir, symbolsPath, testName=None):
|
|||
if len(dumps) == 0:
|
||||
return False
|
||||
|
||||
foundCrash = False
|
||||
removeSymbolsPath = False
|
||||
|
||||
# If our symbols are at a remote URL, download them now
|
||||
|
@ -198,12 +197,11 @@ def checkForCrashes(dumpDir, symbolsPath, testName=None):
|
|||
extra = os.path.splitext(d)[0] + ".extra"
|
||||
if os.path.exists(extra):
|
||||
os.remove(extra)
|
||||
foundCrash = True
|
||||
finally:
|
||||
if removeSymbolsPath:
|
||||
shutil.rmtree(symbolsPath)
|
||||
|
||||
return foundCrash
|
||||
return True
|
||||
|
||||
def getFullPath(directory, path):
|
||||
"Get an absolute path relative to 'directory'."
|
||||
|
|
Загрузка…
Ссылка в новой задаче