mirror of
https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK.git
synced 2026-12-03 20:13:30 +07:00
[PR #8] [MERGED] Make host tests profile-driven; fix stock-selection include path #114
Labels
No labels
bug
documentation
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
windows-GPU-UNLOCK/Windows-GPU-UNLOCK#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/pull/8
Author: @pavel-shpilev
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @impacifist
Base:
main← Head:fix/profile-driven-host-tests📝 Commits (1)
7cae6aaMake host tests profile-driven; fix stock-selection include path📊 Changes
6 files changed (+49 additions, -20 deletions)
View changed files
📝
internal-boot/boot/make-console-fixture.py(+17 -5)📝
internal-boot/boot/test_console.c(+5 -4)📝
internal-boot/unlock/tests/test_3090_experimental.c(+11 -4)📝
internal-boot/unlock/tests/test_3090_preflight.c(+1 -1)📝
internal-boot/unlock/tests/test_efi_transaction.c(+14 -5)📝
internal-boot/unlock/tests/test_stock_selection.py(+1 -1)📄 Description
Several host-test mocks hard-code values of the original B650M / RTX 3090 FE machine, so a build with any other compile-time profile fails inside the mocks before the code under test is reached. I hit this while adding a third profile (GA102 RTX 3090 Ti on a Gigabyte X870; follow-up PR). This PR only makes the tests profile-driven; it does not change any EFI source.
Changes
boot/test_console.c0x7820/0x48a0, stops0x1494/0xf04, version0x10GU_CONSOLE_TEXT_*/GU_CONSOLE_GFX_*unlock/tests/test_3090_preflight.c0xf5ffffffGU_BAR0_ENDunlock/tests/test_3090_experimental.cmemory=0x6000, FE cold-state lineGU_PROM_SHA256,GU_DEVICE_MEMORY_SIZE; cold line per profile,#errorfor a profile without oneunlock/tests/test_efi_transaction.c0x5ffe00000, WPR20x5ffe000/0x5ffeff0, layout delta0x380000000, FWSEC pin0x4239c/0xde00,expected[0xde00]GU_DEVICE_MEMORY_SIZE; FWSEC pin per profile (#errorotherwise); buffer sized from the parsed imageboot/make-console-fixture.py--rtx-id --amd-id --rtx-fb --no-edid-child; defaults unchangedunlock/tests/test_stock_selection.py-I../deps/...-I../../deps/...(copied fromunlock/, one level shallower)Verification
_Static_assert: image sizes/stops/versions, BAR end, memory, FRTS0x5ffe00000, WPR20x5ffe000/0x5ffeff0, delta0x380000000.test_stock_selection.py: fails onmain('Uefi.h' file not foundbefore any case runs), passes on this branch (19 compile-time cases + 14 parameter rejections).Not verified here
I don't have the original B650M private fixtures (
RUN00capture,PROM.BIN, cold capture), so I couldn't runtest-all.ps1 -WithLocalFixturesortest-full.ps1for the default profile. Running those on your side would confirm the FE results are unchanged.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.