test: run the two boot tests on WARP #9

Manually merged
github merged 1 commit from gh-pr/9/head into gh-pr/9/base 2026-11-26 19:55:29 +00:00
Owner

@⁠AutoComput on GitHub · 2026-11-21 10:37 UTC · original
AutoComput:test/boot-tests-warp → main · +2 −2 · 1 files · 1 commits · merged 2026-11-22 09:58 UTC

TL;DR

  • Problem: Two of the automated tests quietly started running on the real graphics card, so their results depend on the PC.
  • Fix: They run on the software renderer again, like the other graphics tests.

scarlettx boot has defaulted to the hardware adapter since bda18b4, so test_boot_hello_scarlett and test_boot_rt_showcase now create their device on whatever GPU is installed. Every other D3D test asks for WARP, and the README lists WARP as the test requirement.

Both tests now pass --warp.

Ran both with and without the flag (with #1 applied, they can't start on my machine otherwise): RTX 5070 Ti before, Microsoft Basic Render Driver after, both pass, and the rt_showcase dump is byte-identical. It does mean no test goes through the default hardware path of boot any more, so say if you'd rather keep that.

**@⁠AutoComput** on GitHub · 2026-11-21 10:37 UTC · [original](https://github.com/Freminet/ScarlettX/pull/9) `AutoComput:test/boot-tests-warp` → `main` · +2 −2 · 1 files · 1 commits · merged 2026-11-22 09:58 UTC **TL;DR** - **Problem:** Two of the automated tests quietly started running on the real graphics card, so their results depend on the PC. - **Fix:** They run on the software renderer again, like the other graphics tests. `scarlettx boot` has defaulted to the hardware adapter since bda18b4, so `test_boot_hello_scarlett` and `test_boot_rt_showcase` now create their device on whatever GPU is installed. Every other D3D test asks for WARP, and the README lists WARP as the test requirement. Both tests now pass `--warp`. Ran both with and without the flag (with #1 applied, they can't start on my machine otherwise): RTX 5070 Ti before, Microsoft Basic Render Driver after, both pass, and the rt_showcase dump is byte-identical. It does mean no test goes through the default hardware path of `boot` any more, so say if you'd rather keep that.
Since scarlettx boot defaults to the hardware adapter,
test_boot_hello_scarlett and test_boot_rt_showcase created their device on
the installed GPU, while every other D3D test asks for WARP. Both now pass
--warp.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:55:28 +00:00
github manually merged commit ca58dd6d25 into gh-pr/9/base 2026-11-26 19:55:28 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.