Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1974)

Unified Diff: tools/browser_tester/browser_tester.py

Issue 7745047: Enable browser tests with glibc. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/srpc_hw/nacl.scons ('k') | tools/browser_tester/browsertester/server.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/browser_tester/browser_tester.py
===================================================================
--- tools/browser_tester/browser_tester.py (revision 6583)
+++ tools/browser_tester/browser_tester.py (working copy)
@@ -38,6 +38,11 @@
metavar='DEST SRC',
help='Add file SRC to be served from the HTTP server, '
'to be made visible under the path DEST.')
+ parser.add_option('--serving_dir', dest='serving_dirs', action='append',
+ type='string', default=[],
+ metavar='DIRNAME',
+ help='Add directory DIRNAME to be served from the HTTP '
+ 'server to be made visible under the root.')
parser.add_option('--test_arg', dest='test_args', action='append',
type='string', nargs=2, default=[],
metavar='KEY VALUE',
@@ -157,7 +162,8 @@
dict(options.map_redirects),
options.allow_404,
options.bandwidth,
- listener)
+ listener,
+ options.serving_dirs)
browser = browsertester.browserlauncher.ChromeLauncher(options)
@@ -223,6 +229,7 @@
options, args = parser.parse_args()
if len(args) != 0:
+ print args
parser.error('Invalid arguments')
# Validate the URL
« no previous file with comments | « tests/srpc_hw/nacl.scons ('k') | tools/browser_tester/browsertester/server.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698