diff options
| author | fadi-abu-basem-25 <241361422+fadi-abu-basem-25@users.noreply.github.com> | 2026-11-24 00:04:40 +0200 |
|---|---|---|
| committer | fadi-abu-basem-25 <241361422+fadi-abu-basem-25@users.noreply.github.com> | 2026-11-24 00:04:40 +0200 |
| commit | 6cdb668e8abe7c5ddae0e4d85dde16d35f92a3fc (patch) | |
| tree | 46b122d9a8405608f07c25273017de172cc1fe76 /runtime/src/main.cpp | |
| parent | 5d74c272363f2703265d44e6aaab1a1df8ddfaf3 (diff) | |
f32_fuzz, cf_diff: import the translator where it is used (EGEN-FUZZ-LAZY-IMPORT)
Both tools set sys.dont_write_bytecode and imported rdna2spirv at the
top, so on a checkout without __pycache__ every start compiled the
translator before parsing the arguments: about 20 s to print a usage
line, which made test_no_arguments_prints_usage time out (5 s) in
tests/test_f32_fuzz.py and tests/test_cf_diff.py. They now import it in
the functions that use it.
Also removes the second, identical CliTests class in
tests/test_f32_fuzz.py, which replaced the first one at import.
Supersedes #5056, which conflicts with main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions