From a3c7c1998808eb8446134e32c19fb21efd4ec4f7 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 24 Aug 2018 15:51:03 +0000 Subject: [PATCH] Update getopts *Sigh* https://github.com/rust-lang-nursery/getopts/pull/53#issuecomment-415770100 --- tools/wptrunner/wptrunner/browsers/servodriver.py | 2 +- tools/wptrunner/wptrunner/webdriver_server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/wptrunner/wptrunner/browsers/servodriver.py b/tools/wptrunner/wptrunner/browsers/servodriver.py index 6486a788b8c8fb..d788effc469bc2 100644 --- a/tools/wptrunner/wptrunner/browsers/servodriver.py +++ b/tools/wptrunner/wptrunner/browsers/servodriver.py @@ -106,7 +106,7 @@ def start(self, **kwargs): self.binary, self.binary_args + [ "--hard-fail", - "--webdriver", str(self.webdriver_port), + "--webdriver=%s" % self.webdriver_port, "about:blank", ], self.debug_info diff --git a/tools/wptrunner/wptrunner/webdriver_server.py b/tools/wptrunner/wptrunner/webdriver_server.py index 9ecd009a7d8127..4ec415ce78bb89 100644 --- a/tools/wptrunner/wptrunner/webdriver_server.py +++ b/tools/wptrunner/wptrunner/webdriver_server.py @@ -197,7 +197,7 @@ def __init__(self, logger, binary="servo", binary_args=None, host="127.0.0.1", def make_command(self): command = [self.binary, - "--webdriver", str(self.port), + "--webdriver=%s" % self.port, "--hard-fail", "--headless"] + self._args if self.binary_args: