[PR #1424] runtime: xdxr_build_check gets its own ctest TIMEOUT (CTEST-XDXR-CHECK-TIMEOUT) #1454

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1424
Author: @Anonymous78e
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: ctest/xdxr-check-timeout


📝 Commits (1)

  • e79834e runtime: xdxr_build_check gets its own ctest TIMEOUT (CTEST-XDXR-CHECK-TIMEOUT)

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 runtime/CMakeLists.txt (+3 -1)

📄 Description

Claimed in the coordination issue as: CTEST-XDXR-CHECK-TIMEOUT (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7147790860)

What and why

xdxr_build_check (tools/xdxr_bvh.py check-build ... --rays 1000, CPU-bound Python) had no ctest TIMEOUT, so a run with ctest --timeout 120 (the value docs/testing.md uses for the Wine run) applies 120 s to it, and a slower host scores a Timeout: @robot00f measured 212 s on a 4 GB Pascal card, Windows 10 native (finding). A per-test TIMEOUT takes precedence over --timeout, so the test now carries TIMEOUT 600, as other heavy tests do (d3d12_queue_handover 400, d3d12_multithread 300). One line in runtime/CMakeLists.txt plus a comment; no test logic changes.

Tested

Windows 11 Pro 26H2, MSVC 19.44 (VS 2022, RelWithDebInfo), CMake 3.31.6, on main 507029d1e:

  • ctest --show-only=json-v1 -R ^xdxr_build: xdxr_build_check now lists TIMEOUT 600 (it listed none before).

  • With a deliberately short --timeout 30, to show the precedence on a fast host:

    xdxr_build xdxr_build_check
    main Passed 0.35 s Timeout 30.01 s
    this branch Passed 0.37 s Passed 61.31 s
  • ctest -R "^xdxr_build(_check)?$" --timeout 120: 2/2 passed (61.1 s). In a full ctest -j 8 run the check took 78.6 s here.

GPUs tested: NVIDIA GeForce RTX 5070 Ti, driver 621.01, Windows 11 Pro 26H2 (the GPU writes the cases in xdxr_build; the timed step is CPU-only)

AI-assisted: yes (Claude Code, Claude Opus 5.5)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a: no translator change)

🤖 Generated with Claude Code

https://claude.ai/code/session_014sDZDAAcsauTL6d8ie67Qo


🔄 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/1424 **Author:** [@Anonymous78e](https://github.com/Anonymous78e) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `ctest/xdxr-check-timeout` --- ### 📝 Commits (1) - [`e79834e`](https://github.com/ubiquitarianism/leonida/commit/e79834ec6a93a8b548cdc88295ade1096adcfeb8) runtime: xdxr_build_check gets its own ctest TIMEOUT (CTEST-XDXR-CHECK-TIMEOUT) ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `runtime/CMakeLists.txt` (+3 -1) </details> ### 📄 Description Claimed in the coordination issue as: CTEST-XDXR-CHECK-TIMEOUT (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7147790860) ### What and why `xdxr_build_check` (`tools/xdxr_bvh.py check-build ... --rays 1000`, CPU-bound Python) had no ctest `TIMEOUT`, so a run with `ctest --timeout 120` (the value `docs/testing.md` uses for the Wine run) applies 120 s to it, and a slower host scores a Timeout: @robot00f measured 212 s on a 4 GB Pascal card, Windows 10 native ([finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7143570457)). A per-test `TIMEOUT` takes precedence over `--timeout`, so the test now carries `TIMEOUT 600`, as other heavy tests do (`d3d12_queue_handover` 400, `d3d12_multithread` 300). One line in `runtime/CMakeLists.txt` plus a comment; no test logic changes. ### Tested Windows 11 Pro 26H2, MSVC 19.44 (VS 2022, RelWithDebInfo), CMake 3.31.6, on `main` 507029d1e: - `ctest --show-only=json-v1 -R ^xdxr_build`: `xdxr_build_check` now lists `TIMEOUT 600` (it listed none before). - With a deliberately short `--timeout 30`, to show the precedence on a fast host: | | `xdxr_build` | `xdxr_build_check` | |---|---|---| | `main` | Passed 0.35 s | **Timeout 30.01 s** | | this branch | Passed 0.37 s | Passed 61.31 s | - `ctest -R "^xdxr_build(_check)?$" --timeout 120`: 2/2 passed (61.1 s). In a full `ctest -j 8` run the check took 78.6 s here. GPUs tested: NVIDIA GeForce RTX 5070 Ti, driver 621.01, Windows 11 Pro 26H2 (the GPU writes the cases in `xdxr_build`; the timed step is CPU-only) AI-assisted: yes (Claude Code, Claude Opus 5.5) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a: no translator change) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014sDZDAAcsauTL6d8ie67Qo --- <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#1454
No description provided.