| Index: testing/scripts/common.py
|
| diff --git a/testing/scripts/common.py b/testing/scripts/common.py
|
| index 47e7fb7fd1a223c103c33e6f53bea9003e58db5a..1afbe6b96fe4d7c0ec4d78bd476d0d5a661241e8 100644
|
| --- a/testing/scripts/common.py
|
| +++ b/testing/scripts/common.py
|
| @@ -7,6 +7,7 @@ import contextlib
|
| import json
|
| import os
|
| import subprocess
|
| +import sys
|
| import tempfile
|
|
|
|
|
| @@ -55,6 +56,21 @@ def run_command(argv):
|
| return rc
|
|
|
|
|
| +def run_runtest(cmd_args, runtest_args):
|
| + return run_command([
|
| + sys.executable,
|
| + os.path.join(cmd_args.paths['build'], 'scripts', 'tools', 'runit.py'),
|
| + '--show-path',
|
| + sys.executable,
|
| + os.path.join(cmd_args.paths['build'], 'scripts', 'slave', 'runtest.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']),
|
| + ] + runtest_args)
|
| +
|
| +
|
| @contextlib.contextmanager
|
| def temporary_file():
|
| fd, path = tempfile.mkstemp()
|
|
|