Commit Graph
8 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
Dean 1d6f318fdc Merge pull request #14362 from DonRyuzaki/fix/tools-gate-relative-executable
fix(tools): resolve test executables in their working directory
2026-11-03 08:49:16 +13:00
Ryuzaki b06ead0769 fix(tools): resolve test executables in their working directory 2026-11-01 10:10:01 +00:00
rooklz a18bf476ba fix(tools): report symlink loops in vulkan_validation_gate paths as setup errors 2026-10-30 15:44:06 +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 4b102f0603 fix(tools): enforce validation gate test timeout limits 2026-10-27 15:53:42 +08:00
plexerPK 0737a6f81c fix(tools): hash relative validation test files 2026-10-25 21:06:42 +01:00
plexerPK 34368b9e54 feat(tools): gate repeated Vulkan validation comparisons 2026-10-25 20:41:19 +01:00