mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 808410 - checkForCrashes should return true for cases where we hit an exception during minidump stackwalk; r=jmaher
This commit is contained in:
parent
0cbab45c91
commit
295652c85c
@ -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'."
|
||||
|
Loading…
Reference in New Issue
Block a user