[PR #1156] test: bound sparse tile CTest runs (TEST-TILE-CTEST-TIMEOUT) #1189

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1156
Author: @j-weiner
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: fix/ctest-tile-timeouts


📝 Commits (1)

  • f0e6cbb test: bound sparse tile CTest runs

📊 Changes

2 files changed (+13 additions, -3 deletions)

View changed files

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

📄 Description

Claimed in the coordination issue as: TEST-TILE-CTEST-TIMEOUT (original claim on #14)

What and why

Set a 300-second CTest timeout on d3d12_buffer_tiles and d3d12_texture_tiles, preserving their SKIP_RETURN_CODE 77 and Vulkan validation failure checks. If sparse residency is refused after the test has queued work, teardown can otherwise wait indefinitely and block the rest of the runtime suite. This bounds the test hang; it does not change sparse-residency behavior or the runtime implementation.

Tested

  • python3 -I tests/test_ctest_registration.py — 6 passed.
  • python3 -I tests/test_text_write_line_endings.py — 3 passed.
  • python3 -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_ctest_registration.py — clean.
  • git diff --check — passed.
  • Configured runtime/ with CMake 3.31.6, MSVC 19.44, Windows SDK 10.0.26100, and Vulkan SDK 1.4.363.1; ctest --show-only=json-v1 -R "d3d12_buffer_tiles|d3d12_texture_tiles" confirms both tests retain SKIP_RETURN_CODE=77 and the validation failure regex, and each has TIMEOUT=300. The test binaries were not built or run.

GPUs tested: n/a (CTest registration change; no GPU test was run).

AI-assisted: yes.

Checklist

  • Rebased on current main and merges cleanly.
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption.
  • No translator rule change (not applicable).

🔄 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/1156 **Author:** [@j-weiner](https://github.com/j-weiner) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/ctest-tile-timeouts` --- ### 📝 Commits (1) - [`f0e6cbb`](https://github.com/ubiquitarianism/leonida/commit/f0e6cbb4f619a0239048a353acd27e0a53267a28) test: bound sparse tile CTest runs ### 📊 Changes **2 files changed** (+13 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `runtime/CMakeLists.txt` (+3 -3) 📝 `tests/test_ctest_registration.py` (+10 -0) </details> ### 📄 Description Claimed in the coordination issue as: TEST-TILE-CTEST-TIMEOUT (original claim on #14) ### What and why Set a 300-second CTest timeout on `d3d12_buffer_tiles` and `d3d12_texture_tiles`, preserving their `SKIP_RETURN_CODE 77` and Vulkan validation failure checks. If sparse residency is refused after the test has queued work, teardown can otherwise wait indefinitely and block the rest of the runtime suite. This bounds the test hang; it does not change sparse-residency behavior or the runtime implementation. ### Tested - `python3 -I tests/test_ctest_registration.py` — 6 passed. - `python3 -I tests/test_text_write_line_endings.py` — 3 passed. - `python3 -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_ctest_registration.py` — clean. - `git diff --check` — passed. - Configured `runtime/` with CMake 3.31.6, MSVC 19.44, Windows SDK 10.0.26100, and Vulkan SDK 1.4.363.1; `ctest --show-only=json-v1 -R "d3d12_buffer_tiles|d3d12_texture_tiles"` confirms both tests retain `SKIP_RETURN_CODE=77` and the validation failure regex, and each has `TIMEOUT=300`. The test binaries were not built or run. GPUs tested: n/a (CTest registration change; no GPU test was run). AI-assisted: yes. ### Checklist - [x] Rebased on current `main` and merges cleanly. - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption. - [x] No translator rule change (not applicable). --- <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#1189
No description provided.