aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/tools/browserutils/install.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2017-10-12 09:25:50 -0400
committerJosh Matthews <josh@joshmatthews.net>2017-10-12 12:36:21 -0400
commit1f531f66ea9d1ecb33cadb2ad6442673b016907a (patch)
tree601c5180196c97d6db33a47c50fd5738febf4081 /tests/wpt/web-platform-tests/tools/browserutils/install.py
parent462c2723806b91e4a0a888d2521a5ce778433949 (diff)
downloadservo-1f531f66ea9d1ecb33cadb2ad6442673b016907a.tar.gz
servo-1f531f66ea9d1ecb33cadb2ad6442673b016907a.zip
Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326
Diffstat (limited to 'tests/wpt/web-platform-tests/tools/browserutils/install.py')
-rw-r--r--tests/wpt/web-platform-tests/tools/browserutils/install.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/wpt/web-platform-tests/tools/browserutils/install.py b/tests/wpt/web-platform-tests/tools/browserutils/install.py
deleted file mode 100644
index ee4e6015e8f..00000000000
--- a/tests/wpt/web-platform-tests/tools/browserutils/install.py
+++ /dev/null
@@ -1,23 +0,0 @@
-import argparse
-import browser
-import sys
-
-parser = argparse.ArgumentParser()
-parser.add_argument('browser', choices=['firefox', 'chrome'],
- help='name of web browser product')
-parser.add_argument('component', choices=['browser', 'webdriver'],
- help='name of component')
-parser.add_argument('-d', '--destination',
- help='filesystem directory to place the component')
-
-if __name__ == '__main__':
- args = parser.parse_args()
-
- Subclass = getattr(browser, args.browser.title())
- if args.component == 'webdriver':
- method = 'install_webdriver'
- else:
- method = 'install'
-
- sys.stdout.write('Now installing %s %s...\n' % (args.browser, args.component))
- getattr(Subclass(), method)(dest=args.destination)