Classes | |
class | BuildAndRunError |
class | CLanguage |
class | Config |
class | CSharpLanguage |
class | ObjCLanguage |
class | Php7Language |
class | PythonConfig |
class | PythonLanguage |
class | RemoteNodeLanguage |
class | RubyLanguage |
class | Sanity |
Functions | |
def | _build_and_run (check_cancelled, newline_on_success, xml_report=None, build_only=False) |
def | _build_step_environ (cfg, extra_env={}) |
def | _calculate_num_runs_failures (list_of_results) |
def | _check_arch (arch, supported_archs) |
def | _check_arch_option (arch) |
def | _check_compiler (compiler, supported_compilers) |
def | _docker_arch_suffix (arch) |
def | _is_use_docker_child () |
def | _print_debug_info_epilogue (dockerfile_dir=None) |
def | _pypy_config_generator (name, major, config_vars) |
def | _pypy_pattern_function (major) |
def | _python_config_generator (name, major, minor, bits, config_vars) |
def | _python_pattern_function (major, minor, bits) |
def | _shut_down_legacy_server (legacy_server_port) |
def | _windows_arch_option (arch) |
def | get_c_tests (travis, test_lang) |
def | isclose (a, b, rel_tol=1e-09, abs_tol=0.0) |
def | max_parallel_tests_for_current_platform () |
def | percent_type (arg_str) |
def | platform_string () |
def | run_shell_command (cmd, env=None, cwd=None) |
def | runs_per_test_type (arg_str) |
|
private |
Do one pass of building & running tests.
Definition at line 1298 of file run_tests.py.
|
private |
Environment variables set for each build step.
Definition at line 1160 of file run_tests.py.
|
private |
Calculate number of runs and failures for a particular test. Args: list_of_results: (List) of JobResult object. Returns: A tuple of total number of runs and failures.
Definition at line 1271 of file run_tests.py.
|
private |
Definition at line 177 of file run_tests.py.
|
private |
Checks that architecture option is valid.
Definition at line 1181 of file run_tests.py.
|
private |
Definition at line 171 of file run_tests.py.
|
private |
Returns suffix to dockerfile dir to use.
Definition at line 1209 of file run_tests.py.
|
private |
Returns True if running running as a --use_docker child.
Definition at line 182 of file run_tests.py.
|
private |
Use to print useful info for debug/repro just before exiting.
Definition at line 97 of file run_tests.py.
|
private |
Definition at line 208 of file run_tests.py.
|
private |
Definition at line 232 of file run_tests.py.
|
private |
Definition at line 197 of file run_tests.py.
|
private |
Definition at line 218 of file run_tests.py.
|
private |
Shut down legacy version of port server.
Definition at line 1257 of file run_tests.py.
|
private |
Returns msbuild cmdline option for selected architecture.
Definition at line 1170 of file run_tests.py.
def run_tests.get_c_tests | ( | travis, | |
test_lang | |||
) |
Definition at line 159 of file run_tests.py.
def run_tests.isclose | ( | a, | |
b, | |||
rel_tol = 1e-09 , |
|||
abs_tol = 0.0 |
|||
) |
Definition at line 1253 of file run_tests.py.
def run_tests.max_parallel_tests_for_current_platform | ( | ) |
Definition at line 89 of file run_tests.py.
def run_tests.percent_type | ( | arg_str | ) |
Definition at line 1244 of file run_tests.py.
def run_tests.platform_string | ( | ) |
Definition at line 71 of file run_tests.py.
def run_tests.run_shell_command | ( | cmd, | |
env = None , |
|||
cwd = None |
|||
) |
Definition at line 79 of file run_tests.py.
def run_tests.runs_per_test_type | ( | arg_str | ) |
Auxiliary function to parse the "runs_per_test" flag. Returns: A positive integer or 0, the latter indicating an infinite number of runs. Raises: argparse.ArgumentTypeError: Upon invalid input.
Definition at line 1222 of file run_tests.py.
|
private |
Definition at line 1138 of file run_tests.py.
|
private |
Definition at line 75 of file run_tests.py.
|
private |
Definition at line 61 of file run_tests.py.
|
private |
Definition at line 1141 of file run_tests.py.
|
private |
Definition at line 1153 of file run_tests.py.
|
private |
Definition at line 65 of file run_tests.py.
|
private |
Definition at line 76 of file run_tests.py.
|
private |
Definition at line 187 of file run_tests.py.
|
private |
Definition at line 58 of file run_tests.py.
run_tests.action |
Definition at line 1452 of file run_tests.py.
run_tests.argp = argparse.ArgumentParser(description='Run grpc tests.') |
Definition at line 1427 of file run_tests.py.
run_tests.args = argp.parse_args() |
Definition at line 1587 of file run_tests.py.
run_tests.build_config = run_config.build_config |
Definition at line 1601 of file run_tests.py.
run_tests.build_steps |
Definition at line 1657 of file run_tests.py.
Definition at line 1637 of file run_tests.py.
run_tests.choices |
Definition at line 1430 of file run_tests.py.
run_tests.const |
Definition at line 1453 of file run_tests.py.
run_tests.default |
Definition at line 1431 of file run_tests.py.
run_tests.do_newline |
Definition at line 1692 of file run_tests.py.
run_tests.dockerfile_dir = next(iter(dockerfile_dirs)) |
Definition at line 1635 of file run_tests.py.
Definition at line 1629 of file run_tests.py.
run_tests.env = os.environ.copy() |
Definition at line 1641 of file run_tests.py.
def run_tests.errors |
Definition at line 1687 of file run_tests.py.
int run_tests.exit_code = 0 |
Definition at line 1701 of file run_tests.py.
run_tests.flaky_tests = set() |
Definition at line 1589 of file run_tests.py.
run_tests.gcp_utils_dir |
Definition at line 54 of file run_tests.py.
run_tests.help |
Definition at line 1437 of file run_tests.py.
run_tests.languages = set(_LANGUAGES[l] for l in args.language) |
Definition at line 1607 of file run_tests.py.
run_tests.measure_cpu_costs |
Definition at line 1597 of file run_tests.py.
run_tests.nargs |
Definition at line 1463 of file run_tests.py.
run_tests.post_tests_steps |
Definition at line 1678 of file run_tests.py.
run_tests.required |
Definition at line 1464 of file run_tests.py.
run_tests.retcode |
Definition at line 1646 of file run_tests.py.
run_tests.run_config = _CONFIGS[args.config] |
Definition at line 1600 of file run_tests.py.
string run_tests.run_tests_cmd |
Definition at line 1638 of file run_tests.py.
run_tests.runs_per_test = args.runs_per_test |
Definition at line 1685 of file run_tests.py.
dictionary run_tests.shortname_to_cpu = {} |
Definition at line 1590 of file run_tests.py.
run_tests.type |
Definition at line 1436 of file run_tests.py.