()
| 499 | |
| 500 | |
| 501 | def main() -> int: |
| 502 | args = parse_args() |
| 503 | try: |
| 504 | if os.environ.get("MSYSTEM") and os.name != "nt": |
| 505 | raise RuntimeError( |
| 506 | "Windows/MSYS test runs require the native MinGW Python " |
| 507 | "(os.name must be 'nt')" |
| 508 | ) |
| 509 | run_wave(args) |
| 510 | except (OSError, RuntimeError) as exc: |
| 511 | print(f"FAIL: parallel scheduler infrastructure error: {exc}", file=sys.stderr) |
| 512 | return 2 |
| 513 | return 0 |
| 514 | |
| 515 | |
| 516 | if __name__ == "__main__": |
no test coverage detected