aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/devenv_commands.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2017-06-19 16:52:16 -0400
committerMs2ger <Ms2ger@gmail.com>2017-10-05 00:43:03 +0200
commitca340eca391a6d0bf3fbe3563f230e9f85cce9cb (patch)
tree9bf1106f8867875f223f731dfd0a1cc99fd97340 /python/servo/devenv_commands.py
parentd9baadd3dfd573ed3cab53dbc8c58d97c0377e15 (diff)
downloadservo-ca340eca391a6d0bf3fbe3563f230e9f85cce9cb.tar.gz
servo-ca340eca391a6d0bf3fbe3563f230e9f85cce9cb.zip
Use upstream wptrunner from web-platform-tests.
Diffstat (limited to 'python/servo/devenv_commands.py')
-rw-r--r--python/servo/devenv_commands.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py
index 804e7e1c425..49fe355c54b 100644
--- a/python/servo/devenv_commands.py
+++ b/python/servo/devenv_commands.py
@@ -285,29 +285,3 @@ class MachCommands(CommandBase):
# Fetch Cargo dependencies
with cd(self.context.topdir):
call(["cargo", "fetch"], env=self.build_env())
-
- @Command('wptrunner-upgrade',
- description='upgrade wptrunner.',
- category='devenv')
- def upgrade_wpt_runner(self):
- env = self.build_env()
- with cd(path.join(self.context.topdir, 'tests', 'wpt', 'harness')):
- code = call(["git", "init"], env=env)
- if code:
- return code
- # No need to report an error if this fails, as it will for the first use
- call(["git", "remote", "rm", "upstream"], env=env)
- code = call(
- ["git", "remote", "add", "upstream", "https://github.com/w3c/wptrunner.git"], env=env)
- if code:
- return code
- code = call(["git", "fetch", "upstream"], env=env)
- if code:
- return code
- code = call(["git", "reset", "--hard", "remotes/upstream/master"], env=env)
- if code:
- return code
- code = call(["rm", "-rf", ".git"], env=env)
- if code:
- return code
- return 0