()
| 557 | |
| 558 | |
| 559 | def main() -> int: |
| 560 | args = parse_args() |
| 561 | try: |
| 562 | if os.environ.get("MSYSTEM") and os.name != "nt": |
| 563 | raise RuntimeError( |
| 564 | "Windows/MSYS test runs require the native MinGW Python " |
| 565 | "(os.name must be 'nt')" |
| 566 | ) |
| 567 | run_wave(args) |
| 568 | except (OSError, RuntimeError) as exc: |
| 569 | print(f"FAIL: parallel scheduler infrastructure error: {exc}", file=sys.stderr) |
| 570 | return 2 |
| 571 | return 0 |
| 572 | |
| 573 | |
| 574 | if __name__ == "__main__": |
no test coverage detected