зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1448698 - Use alternate path for stackfixer import in android mochitests; r=me,a=test-only
Android mochitests typically use the xre-path instead of the utility-path. The stack fixer module should be available in the host-utils, pointed to by xre-path.
This commit is contained in:
Родитель
8221a997c1
Коммит
c1296ff654
|
@ -2835,12 +2835,13 @@ toolbar#nav-bar {
|
|||
ignoreMissingLeaks.append(processType)
|
||||
leakThresholds[processType] = sys.maxsize
|
||||
|
||||
utilityPath = options.utilityPath or options.xrePath
|
||||
mozleak.process_leak_log(
|
||||
self.leak_report_file,
|
||||
leak_thresholds=leakThresholds,
|
||||
ignore_missing_leaks=ignoreMissingLeaks,
|
||||
log=self.log,
|
||||
stack_fixer=get_stack_fixer_function(options.utilityPath,
|
||||
stack_fixer=get_stack_fixer_function(utilityPath,
|
||||
options.symbolsPath),
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче