forked from mirrors/gecko-dev
Bug 1861731 - Fix screenshot_on_failure typo in Talos. r=perftest-reviewers,sparky
This patch fixes the logic for --screenshot-on-failure in Talos that was caught. Differential Revision: https://phabricator.services.mozilla.com/D202987
This commit is contained in:
parent
69dbf231e6
commit
1de0d274fc
1 changed files with 1 additions and 1 deletions
|
|
@ -577,7 +577,7 @@ class Talos(
|
|||
if self.config.get("code_coverage", False):
|
||||
options.extend(["--code-coverage"])
|
||||
if (
|
||||
self.config.get("--screenshot-on-failure", False)
|
||||
self.config.get("screenshot_on_failure", False)
|
||||
or os.environ.get("MOZ_AUTOMATION", None) is not None
|
||||
):
|
||||
options.extend(["--screenshot-on-failure"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue