Commit 9ca049b1 authored by Erik Staab's avatar Erik Staab Committed by Commit Bot

Pass unparsed arguments through to the weblayer instrumentation test.

Bug: 1058963
Change-Id: If7d10216e236282357f88e3cc49a5a2c5b3200a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2150395Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Erik Staab <estaab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759404}
parent 62a15f20
...@@ -50,7 +50,7 @@ def main(): ...@@ -50,7 +50,7 @@ def main():
'--implementation-outdir', '--implementation-outdir',
required=True, required=True,
help='Build output directory for WebLayer implementation.') help='Build output directory for WebLayer implementation.')
args = parser.parse_args() args, remaining_args = parser.parse_known_args()
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)
...@@ -82,7 +82,7 @@ def main(): ...@@ -82,7 +82,7 @@ def main():
'--additional-apk', '--additional-apk',
os.path.join(args.tests_outdir, 'apks/ChromiumNetTestSupport.apk')] os.path.join(args.tests_outdir, 'apks/ChromiumNetTestSupport.apk')]
cmd = [executable_path] + executable_args cmd = [executable_path] + executable_args + remaining_args
cmd = [sys.executable] + cmd cmd = [sys.executable] + cmd
logging.info(' '.join(cmd)) logging.info(' '.join(cmd))
return subprocess.call(cmd) return subprocess.call(cmd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment