bug 519194 - No symbols in stack trace on tests of optimized builds (landing without review, consider it a bustage fix)
This commit is contained in:
@@ -79,6 +79,11 @@ def checkForCrashes(dumpDir, symbolsPath, testName=None):
|
||||
# eat minidump_stackwalk errors
|
||||
subprocess.call([stackwalkPath, d, symbolsPath], stderr=nullfd)
|
||||
nullfd.close()
|
||||
else:
|
||||
if not symbolsPath:
|
||||
print "No symbols path given, can't process dump."
|
||||
if not stackwalkPath:
|
||||
print "MINIDUMP_STACKWALK not set, can't process dump."
|
||||
os.remove(d)
|
||||
extra = os.path.splitext(d)[0] + ".extra"
|
||||
if os.path.exists(extra):
|
||||
|
||||
@@ -123,6 +123,8 @@ Are you executing $objdir/_tests/reftest/runreftest.py?""" \
|
||||
# allow relative paths
|
||||
options.xrePath = getFullPath(options.xrePath)
|
||||
|
||||
options.symbolsPath = getFullPath(options.symbolsPath)
|
||||
|
||||
profileDir = None
|
||||
try:
|
||||
profileDir = mkdtemp()
|
||||
|
||||
@@ -389,6 +389,7 @@ Are you executing $objdir/_tests/testing/mochitest/runtests.py?"""
|
||||
|
||||
options.utilityPath = getFullPath(options.utilityPath)
|
||||
options.certPath = getFullPath(options.certPath)
|
||||
options.symbolsPath = getFullPath(options.symbolsPath)
|
||||
|
||||
debuggerInfo = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user