From 61d9742824d54be5693191fe502325a909feca59 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 28 Nov 2022 16:14:41 +0100 Subject: BASELINE: Update Chromium to 108.0.5359.70 Change-Id: I77334ff232b819600f275bd3cfe41fbaa3619230 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/445904 Reviewed-by: Allan Sandfeld Jensen --- chromium/testing/scripts/common.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chromium/testing/scripts/common.py') diff --git a/chromium/testing/scripts/common.py b/chromium/testing/scripts/common.py index 0ffbca045cd..6793c52da67 100644 --- a/chromium/testing/scripts/common.py +++ b/chromium/testing/scripts/common.py @@ -1,4 +1,4 @@ -# Copyright 2014 The Chromium Authors. All rights reserved. +# Copyright 2014 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -453,7 +453,7 @@ class BaseIsolatedScriptArgsAdapter(object): def do_post_test_run_tasks(self): pass - def run_test(self): + def run_test(self, cwd=None): self.parse_args() cmd = self.generate_isolated_script_cmd() @@ -472,9 +472,9 @@ class BaseIsolatedScriptArgsAdapter(object): ' '.join(cmd), env)) sys.stdout.flush() if self.options.xvfb and sys.platform.startswith('linux'): - exit_code = xvfb.run_executable(cmd, env) + exit_code = xvfb.run_executable(cmd, env, cwd=cwd) else: - exit_code = test_env.run_command(cmd, env=env, log=False) + exit_code = test_env.run_command(cmd, env=env, cwd=cwd, log=False) print('Command returned exit code %d' % exit_code) sys.stdout.flush() self.do_post_test_run_tasks() -- cgit v1.2.1