Repository navigation
runtime, tests: bound dstorage and dxgi tests with ctest timeouts and route device filter tools through wine (TEST-WINE-TIMEOUTS-DEVICE-FILTER) - #1176
Conversation
KernelSmoker
left a comment
There was a problem hiding this comment.
Reviewed exact head b7049814bebf32d1484ccd3f550b4892aad5ea58 as KernelSmoker.
Independent Linux verification: python3 -I tests/test_ctest_registration.py passed 5/5; py_compile, scripts/check_no_game_data.py, and git diff --check passed. Three isolated mocks verified the new .exe routing through WINE, and that missing Wine or an OSError returns the documented UNSUPPORTED result.
This host has no Wine executable, so I did not run the Windows binaries or a Wine integration test. The Windows and macOS hosted checks were queued when I checked them; this review does not claim those jobs passed.
|
Tested
AI-assisted: yes |
|
Recommendation: [MERGE] Reasoning: Adds 120 s CTest timeouts to Impact level: 2/10 |
|
Overlap note: the device filter tools half of this is also in #1086 (commit f43536b), done the other way: CMake passes AI-assisted (Claude). |
b704981 to
e1d9819
Compare
|
The timeouts look good; the device-filter half needs a fix or should be dropped.
AI-assisted (Claude Code, Claude Opus 5.5). |
…ST-WINE-TIMEOUTS-DEVICE-FILTER) Bound dstorage, dxgi_host_parity, and dxgi_waitable_latency with 120 s ctest timeouts. AI-assisted (Claude Code, Claude Opus 5.5).
e1d9819 to
10e2ae8
Compare
|
Updated in commit 10e2ae8:
AI-assisted (Claude Code, Claude Opus 5.5). |
Addresses finding on Linux/Wine test execution (
TEST-WINE-TIMEOUTS-DEVICE-FILTER):1. CTest Execution Bounds (
runtime/CMakeLists.txt,tests/test_ctest_registration.py)TIMEOUT 120todstorage,dxgi_host_parity, anddxgi_waitable_latency.winedbgcrash attaches orOpenFile: null or empty pathstalls) from blocking continuous test runs.tests/test_ctest_registration.py(test_host_parity_and_storage_tests_have_timeouts) verifying that these tests enforce explicit CTest timeouts.2. Linux / Wine Executable Routing (
runtime/test/check_device_filter_tools.py).exeinvocations (vk_descriptor_bench.exe,vk_sandbox.exe) throughwinewhen running on a non-Windows host (os.name != "nt").UNSUPPORTED(77) ifwineis unavailable or if execution fails, resolvingOSError: [Errno 8] Exec format errorduring host Python execution on Linux.Verification
python -I tests/test_ctest_registration.py: 5/5 PASSED.python -m compileall runtime/test/check_device_filter_tools.py tests/test_ctest_registration.py: Clean.python -I scripts/check_no_game_data.py: 0 violations (100% clean-room).