[PR #2161] test: skip translated draw variants without Vulkan #2165

Open
opened 2026-11-26 21:20:16 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2161
Author: @Joaco9020
Created: 11/26/2026
Status: 🔄 Open

Base: main ← Head: fix/translated-draw-ctest-skips


📝 Commits (1)

  • 291f42d test: mark translated draw variants as CTest skips

📊 Changes

2 files changed (+12 additions, -1 deletions)

View changed files

📝 runtime/CMakeLists.txt (+2 -1)
📝 tests/test_ctest_registration.py (+10 -0)

📄 Description

Claimed as TEST-TRANSLATED-DRAW-SKIP-CODES in the coordination thread.

Summary

The translated-draw executable returns 77 when no usable Vulkan device is available. The base d3d12_translated_draw test already marks that code as a CTest skip, but its three sibling variants did not. Mark all four variants with SKIP_RETURN_CODE 77 and pin the sibling registrations in the CTest registration unit test.

Verification

  • python -I tests/test_ctest_registration.py -v — 7 passed.
  • python -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_ctest_registration.py — passed.
  • git diff --check — clean.
  • cmake -S runtime -B runtime/build -A x64 — configured. The translated-draw executable was not generated because this machine lacks llvm-mc and spirv-as/spirv-val.

No game files or GPU data are included. GPU execution is not needed for this CTest registration change. AI-assisted: yes.

  • One topic; no game data.
  • Based on current main.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/2161 **Author:** [@Joaco9020](https://github.com/Joaco9020) **Created:** 11/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/translated-draw-ctest-skips` --- ### 📝 Commits (1) - [`291f42d`](https://github.com/ubiquitarianism/leonida/commit/291f42d4e9d7d4381ebf9d24a5aaeba62cea2078) test: mark translated draw variants as CTest skips ### 📊 Changes **2 files changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `runtime/CMakeLists.txt` (+2 -1) 📝 `tests/test_ctest_registration.py` (+10 -0) </details> ### 📄 Description Claimed as `TEST-TRANSLATED-DRAW-SKIP-CODES` in [the coordination thread](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7178880260). ## Summary The translated-draw executable returns `77` when no usable Vulkan device is available. The base `d3d12_translated_draw` test already marks that code as a CTest skip, but its three sibling variants did not. Mark all four variants with `SKIP_RETURN_CODE 77` and pin the sibling registrations in the CTest registration unit test. ## Verification - `python -I tests/test_ctest_registration.py -v` — 7 passed. - `python -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_ctest_registration.py` — passed. - `git diff --check` — clean. - `cmake -S runtime -B runtime/build -A x64` — configured. The translated-draw executable was not generated because this machine lacks `llvm-mc` and `spirv-as`/`spirv-val`. No game files or GPU data are included. GPU execution is not needed for this CTest registration change. AI-assisted: yes. - [x] One topic; no game data. - [x] Based on current `main`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#2165
No description provided.