summaryrefslogtreecommitdiff
path: root/chromium/testing/scripts/common.py
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-16 11:45:35 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-17 08:59:23 +0000
commit552906b0f222c5d5dd11b9fd73829d510980461a (patch)
tree3a11e6ed0538a81dd83b20cf3a4783e297f26d91 /chromium/testing/scripts/common.py
parent1b05827804eaf047779b597718c03e7d38344261 (diff)
downloadqtwebengine-chromium-552906b0f222c5d5dd11b9fd73829d510980461a.tar.gz
BASELINE: Update Chromium to 83.0.4103.122
Change-Id: Ie3a82f5bb0076eec2a7c6a6162326b4301ee291e Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/testing/scripts/common.py')
-rw-r--r--chromium/testing/scripts/common.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/chromium/testing/scripts/common.py b/chromium/testing/scripts/common.py
index 0fee46029e7..f7b34541899 100644
--- a/chromium/testing/scripts/common.py
+++ b/chromium/testing/scripts/common.py
@@ -56,11 +56,6 @@ def run_script(argv, funcs):
# behavior of the script.
parser.add_argument('--args', type=parse_json, default=[])
- parser.add_argument(
- '--use-src-side-runtest-py', action='store_true',
- help='Use the src-side copy of runtest.py, as opposed to the build-side '
- 'one')
-
subparsers = parser.add_subparsers()
run_parser = subparsers.add_parser('run')
@@ -85,24 +80,6 @@ def run_command(argv, env=None, cwd=None):
return rc
-def run_runtest(cmd_args, runtest_args):
- env = os.environ.copy()
- env['CHROME_HEADLESS'] = '1'
-
- return run_command([
- sys.executable,
- os.path.join(
- cmd_args.paths['checkout'], 'infra', 'scripts', 'runtest_wrapper.py'),
- '--',
- '--target', cmd_args.build_config_fs,
- '--xvfb',
- '--builder-name', cmd_args.properties['buildername'],
- '--slave-name', cmd_args.properties['slavename'],
- '--build-number', str(cmd_args.properties['buildnumber']),
- '--build-properties', json.dumps(cmd_args.properties),
- ] + runtest_args, env=env)
-
-
@contextlib.contextmanager
def temporary_file():
fd, path = tempfile.mkstemp()