Run Python stdlib tests for a PBS distribution. The passed path is the `python` directory from the extracted distribution archive.
(dist_root: Path, python_info, harness_args: list[str])
| 64 | |
| 65 | |
| 66 | def run_stdlib_tests(dist_root: Path, python_info, harness_args: list[str]) -> int: |
| 67 | """Run Python stdlib tests for a PBS distribution. |
| 68 | |
| 69 | The passed path is the `python` directory from the extracted distribution |
| 70 | archive. |
| 71 | """ |
| 72 | args = [ |
| 73 | str(dist_root / python_info["run_tests"]), |
| 74 | ] |
| 75 | |
| 76 | args.extend(harness_args) |
| 77 | |
| 78 | return run_dist_python(dist_root, python_info, args).returncode |
| 79 | |
| 80 | |
| 81 | def main(pbs_source_dir: Path, raw_args: list[str]) -> int: |
no test coverage detected