From 39d357e3248f80abea0159765ff39554affb40db Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 4 Jan 2017 14:17:57 +0100 Subject: BASELINE: Update Chromium to 55.0.2883.105 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And updates ninja to 1.7.2 Change-Id: I20d43c737f82764d857ada9a55586901b18b9243 Reviewed-by: Michael BrĂ¼ning --- chromium/testing/scripts/common.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'chromium/testing/scripts/common.py') diff --git a/chromium/testing/scripts/common.py b/chromium/testing/scripts/common.py index 5cba136cb51..ee49a892692 100644 --- a/chromium/testing/scripts/common.py +++ b/chromium/testing/scripts/common.py @@ -22,6 +22,10 @@ SRC_DIR = os.path.abspath( MAX_FAILURES_EXIT_STATUS = 101 +# Exit code to indicate infrastructure issue. +INFRA_FAILURE_EXIT_CODE = 87 + + def run_script(argv, funcs): def parse_json(path): with open(path) as f: @@ -59,9 +63,9 @@ def run_script(argv, funcs): return args.func(args) -def run_command(argv, env=None): - print 'Running %r' % argv - rc = subprocess.call(argv, env=env) +def run_command(argv, env=None, cwd=None): + print 'Running %r in %r (env: %r)' % (argv, cwd, env) + rc = subprocess.call(argv, env=env, cwd=cwd) print 'Command %r returned exit code %d' % (argv, rc) return rc -- cgit v1.2.1