()
| 428 | |
| 429 | |
| 430 | def main() -> int: |
| 431 | args = parse_args() |
| 432 | try: |
| 433 | if os.environ.get("MSYSTEM") and os.name != "nt": |
| 434 | raise RuntimeError( |
| 435 | "Windows/MSYS test runs require the native MinGW Python " |
| 436 | "(os.name must be 'nt')" |
| 437 | ) |
| 438 | run_wave(args) |
| 439 | except (OSError, RuntimeError) as exc: |
| 440 | print(f"FAIL: parallel scheduler infrastructure error: {exc}", file=sys.stderr) |
| 441 | return 2 |
| 442 | return 0 |
| 443 | |
| 444 | |
| 445 | if __name__ == "__main__": |
no test coverage detected