diff options
| author | Andrey <lopsin232@gmail.com> | 2026-11-24 12:47:43 +0300 |
|---|---|---|
| committer | Andrey <lopsin232@gmail.com> | 2026-11-24 12:47:43 +0300 |
| commit | cd88d57800b9dae4e93b4ec0f106c47c61bbdfc1 (patch) | |
| tree | ff9f79efb32302efcaf6ac5ae672d13c84cd4703 /scripts | |
| parent | d7576d56ae2c77564c84ffae724ffe9bdd2e6701 (diff) | |
tools: close hardware oracle in ds_permute_probe (PROBE-DSPERMUTE-ORACLE-CLOSE)
Ensure tools/ds_permute_probe.py closes the opened hardware oracle on all
exit paths (non-GFX10 exit 77, mismatch return 1, report write error, and
exceptions) using a try ... finally block with hasattr(oracle, 'close').
Added unit tests in tests/test_ds_permute_probe.py verifying close() is
invoked on all variants.
Item: PROBE-DSPERMUTE-ORACLE-CLOSE
agent: yes
AI-assisted: yes
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions