diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:15:46 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:15:46 -0500 |
| commit | f71c9c1d77e6d2a703869a40c9c0510a7cad3a26 (patch) | |
| tree | ccc3df5012aea5ca3ecf064e9a844178ee53ba06 /scripts/run_gpu_tests.py | |
| parent | 0744b864472ffb168931edd586df2785e8180cb6 (diff) | |
| parent | c14daecc6b312d2a786fdb5c49b85634504f87b3 (diff) | |
Merge pull request #4544 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 9504b52e7..9e594c850 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -754,8 +754,12 @@ def run_suite(a, work: str) -> int: | |||
| 754 | disasm_dir = os.path.join(work, "disasm") | 754 | disasm_dir = os.path.join(work, "disasm") |
| 755 | spirv_dir = os.path.join(work, "spirv") | 755 | spirv_dir = os.path.join(work, "spirv") |
| 756 | raw_dir = os.path.join(work, "raw") | 756 | raw_dir = os.path.join(work, "raw") |
| 757 | for d in (fssm_dir, disasm_dir, spirv_dir, raw_dir): | 757 | for directory in (work, fssm_dir, disasm_dir, spirv_dir, raw_dir): |
| 758 | os.makedirs(d, exist_ok=True) | 758 | try: |
| 759 | os.makedirs(directory, exist_ok=True) | ||
| 760 | except OSError as exc: | ||
| 761 | print(f"error: cannot prepare GPU test directory {directory}: {exc.strerror or exc}", file=sys.stderr) | ||
| 762 | return 2 | ||
| 759 | 763 | ||
| 760 | # 1. Create synthetic DXBC / FSSM metadata + assemble .asm -> .s | 764 | # 1. Create synthetic DXBC / FSSM metadata + assemble .asm -> .s |
| 761 | disasm_files = [] | 765 | disasm_files = [] |