test(libSceVideoOut): run the telemetry tests on Windows #8654
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8654"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-20T20:06:10Z.
What
video_out_telemetryandvideo_out_telemetry_captionwere registered only for non-Windows hosts (if(BUILD_TESTING AND NOT WIN32)incore/libs/prx/libSceVideoOut/CMakeLists.txt).tests/Telemetry.cppneedsgetpid(_getpidfrom<process.h>on Windows) and a narrow path forVideoOutTelemetry::OpenFromEnvironment(std::filesystem::path::c_str()isconst wchar_t*there, so the file did not compile:Telemetry.cpp:117: cannot convert 'const wchar_t*' to 'const char*'). The tests are now registered everywhere with the WindowsPATHsetting andconfigure_windows_unwind, as the other video out tests do. The caption test returns 77 (skipped) when the offscreen SDL driver has no Vulkan support, as it does here.Tested
Windows 10 (10.0.19045), WinLibs GCC 15.2.0 Release,
ctest -N -R ^video_out_telemetrylists 2 tests.video_out_telemetry_testsdoes not compile (error above).video_out_telemetrypasses 3/3;video_out_telemetry_captionskips 3/3 ("DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen)"), withoutconfigure_windows_unwindthe skip path aborted instead (unhandled exception 'St13runtime_error').python tools/check_conventions.py --base upstream/main: passed.Not tested: Linux/macOS (the registration is unconditional there as before; the only source change is a
_WIN32branch and.string()on the path). GPUs tested: n/a.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryAI-assisted (Claude Code).
🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T13:26:48Z.
Independent Windows run, as data only. Machine: Windows 11 Enterprise 10.0.22621, Ryzen 9 5950X, WinLibs GCC 15.2.0 UCRT r7, Release,
BUILD_TESTING=ON, Python 3.15. #8654 (c318c70b69), #8717 (ba9e424a42) and #9000 (78bfaba736) were merged together ontomain830ccd121f, without conflicts, and each test was run 3 times.video_out_telemetrypasses 3 of 3.video_out_telemetry_captionskips 3 of 3 withDisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen), as in your report.AI-assisted (Claude Code).