test_file_blocking_work_directory_is_a_cli_error runs run_gpu_tests.py with
-I and asserts on its stderr, which quotes a localized OS error ("Impossible
de créer un fichier déjà existant" on a French install). -I ignores
PYTHONUTF8, so the child wrote that text in the ANSI code page (cp1252),
while a parent in UTF-8 mode decoded the pipe as UTF-8. The reader thread
raised UnicodeDecodeError, result.stderr came back None, and the test failed
with a TypeError before its assertions ran.
Run the child with -X utf8 (which -I keeps) and decode with
encoding="utf-8", so both sides agree whatever the host locale or
PYTHONUTF8 setting. No script change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
run_gpu_tests.py (run_cmd) and check.py (run, the mesh harness) start each GPU program with
LEONIDA_GPU_TEST_TIMEOUT seconds (default 120, 0 = no limit). A program that runs longer is
killed and its test fails with 'timed out after N s'. The translator step over the whole suite
keeps no limit. Seen on an Intel UHD 770, where cs_barrier_divergent can hang vk_compute_test.
vk_texture_test runs with its working directory in <work>/spirv, so a relative --build (runtime/build) made the
tool path point there and the test failed with "missing runtime/build/vk_texture_test". --build and --work are
now made absolute after parsing. A filtered run also builds vs_ids.spv for ps_texture_sample, which
vk_texture_test loads, as #192 did for ps_flat (one table, DRAWN_WITH).