Repository navigation
image_fuzz: default --build is runtime/build, and a VS config subfolder is found - #1445
Merged
ItsNotRexed merged 1 commit intoNov 22, 2026
Conversation
…er is found The default was runtime/build/linux, which only a Linux build that follows docs/testing.md has. Following docs/shader_validation.md (cmake --build runtime/build --target vk_image_fuzz, then run with no --build), every run stopped with "vk_image_fuzz not found". Default to runtime/build like lds_fuzz and valu_fuzz, and look in its RelWithDebInfo/Release subfolder with compute_fixture.find_test_program as lds_fuzz does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Tested on Linux (WSL2 Ubuntu), Python 3.12, CPU only: pass. Tests: 42 passed. With |
Contributor
|
Independent CPU verification, at head
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: no item; a finding from testing PR #1005 (image_fuzz defaulted to the Linux build folder on Windows).
What and why
tools/image_fuzz.pydefaulted--buildtoruntime/build/linux. Only a Linux build that follows docs/testing.md has that folder. If you follow docs/shader_validation.md (cmake --build runtime/build --target vk_image_fuzz, thenpython -I tools/image_fuzz.py --programs 8 --seed 1), every run stops withruntime\build\linux\vk_image_fuzz.exe not found.This changes the default to
runtime/build, the same aslds_fuzz.pyandvalu_fuzz.py. It also looks in the build'sRelWithDebInfo/Releasesubfolder withcompute_fixture.find_test_program, aslds_fuzz.pydoes, so a Visual Studio generator build is found too. Passing--buildexplicitly works as before.Tested
Windows 11 Home 10.0.26300, main bb2e184, MSVC 14.44 (
scripts/build_runtime.ps1), Python 3.14.7, llvm-mc 21.1.8, Vulkan SDK 1.4.363.0,VK_LOADER_LAYERS_DISABLE=~implicit~.python -I tools/image_fuzz.py --programs 8 --seed 1, RTX 5070 (617.42)...\runtime\build\linux\vk_image_fuzz.exe not foundpytest tests/test_image_fuzz.pyThe two new tests check the default build folder and that a
RelWithDebInfosubfolder is picked up. Both fail against main'simage_fuzz.pyand pass with this change.Checklist
docs/design.md, with how it was confirmed. (n/a: no translator change)AI-assisted (Claude Code).
🤖 Generated with Claude Code