Skip to content

test: the VRAM budget row's fixture builds with clang (llvm-mingw) - #2613

Merged
NotRexed merged 1 commit into
NotRexed:mainfrom
Waryxxful:fix/vram-budget-row-clang
Nov 12, 2026
Merged

NotRexed merged 1 commit into
NotRexed:mainfrom
Waryxxful:fix/vram-budget-row-clang

Conversation

@Waryxxful

Copy link
Copy Markdown
Contributor

tests/test_vram_budget_row.py fails on Windows with the llvm-mingw setup that CONTRIBUTING.md describes, because there g++ is clang:

FAIL: the fixture does not build:
fixture.cpp:96:15: error: unused variable 'kVramMinimumOnly' [-Werror,-Wunused-const-variable]

What changed: the fixture takes the menu's budget tables, and kVramMinimumOnly comes with them. The row's step that reads that constant (vk_menu.cpp:1906) does not. The fixture now marks it used with (void)kVramMinimumOnly;. GCC, which CI uses, does not warn, so CI was green while a local Windows run was red.

Tested: Windows 11, llvm-mingw 20261104 ucrt-x86_64 (clang 23.1.5):

Not tested: GCC/Linux. The change only adds a reference to a constant, so it does not change what the test checks.

🤖 Generated with Claude Code

The fixture takes the menu's budget tables, kVramMinimumOnly with them, but
not the row's step that reads it. clang's -Wunused-const-variable (on with
-Wall -Werror) then stops the build; GCC does not warn. On Windows with
llvm-mingw, the setup CONTRIBUTING.md describes, g++ is clang, so
tests/run_all.py fails test_vram_budget_row there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@NotRexed
NotRexed merged commit b2201e5 into NotRexed:main Nov 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants