Commit Graph
7 Commits
Author SHA1 Message Date
Dean 54b7a65c70 Merge pull request #13239 from MalikTalha03/fix/tools-tests-windows-store-python-executable
fix(tools): stop relying on sys.executable as a readable or spawnable file in tests
2026-11-05 09:00:36 +13:00
DariusandClaude Opus 5.5 d2aa697b91 fix(tools): write run_job_manager_reference output as UTF-8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 06:02:39 +02:00
Adrià 2873930b73 test(tools): skip the symlink loop test where symlinks cannot be created 2026-10-30 15:56:55 +00:00
rooklz 3ff6110ddf fix(tools): report run_job_manager_reference symlink loops without traceback 2026-10-30 15:56:55 +00:00
MalikTalha03 89194b73f2 fix(tools): stop relying on sys.executable as a readable or spawnable file in tests
A Microsoft Store Python install's sys.executable points to an
AppExecutionAlias path: os.path.is_file() reports it as a regular file,
but opening it for data (Path.read_bytes(), Path.resolve(strict=True))
fails with OSError, and GCC's own process spawn for -wrapper fails the
same way with "CreateProcess: No such file or directory".

test_vulkan_validation_gate.py and test_job_reference_errors.py used
sys.executable only as a stand-in path that needed to exist, not run;
both now write a small placeholder file instead.
test_check_compile.py spawns sys.executable directly as a GCC -wrapper
program, so it now prefers the py launcher (a plain, non-virtualized
binary) when available, falling back to sys.executable otherwise.

AI-assisted: yes
2026-10-30 12:18:27 +05:00
StoneDC 92b79217e1 test(tools): normalize JobManager artifact paths 2026-10-27 17:39:53 +08:00
StoneDC 2f1f762dc6 fix(tools): report JobManager dependency audit failures 2026-10-27 17:38:39 +08:00