From 1329ff63c194f2c94905a8ca94ec5839f19666d6 Mon Sep 17 00:00:00 2001 From: Joe Rivera Date: Fri, 2 Oct 2026 23:32:27 -0500 Subject: [PATCH] cvcGL/test: don't serialize the headless stream tests under the GL lock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cvcgl_stream_bind, cvcgl_stream_view, and the SDL peripheral-I/O tests (camera/audio source + audio output) create no GL context — the live device paths are gated behind CVC_TEST_AUDIO/CVC_TEST_CAMERA and skipped otherwise. List them as headless so RESOURCE_LOCK cvcgl_gl_context no longer forces them to run one-at-a-time with the real GL tests. --- src/cvcGL/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/cvcGL/CMakeLists.txt b/src/cvcGL/CMakeLists.txt index 6bba0b54..c984c2fc 100644 --- a/src/cvcGL/CMakeLists.txt +++ b/src/cvcGL/CMakeLists.txt @@ -856,7 +856,12 @@ list(REMOVE_ITEM _cvcgl_gl_tests cvcgl_stream_texture cvcgl_state_publisher cvcgl_nav_stats_publish cvcgl_camera cvcgl_track_parity cvcgl_fps_hud cvcgl_stage_setters cvcgl_streaming_races cvcgl_sdl_input - cvcgl_webgl_state_shadow cvcgl_glsync) + cvcgl_webgl_state_shadow cvcgl_glsync + # Stream channel/widget binding + SDL peripheral I/O: no GL context (the + # device paths are skipped without CVC_TEST_AUDIO/CAMERA), so they need no + # serialization and run alongside the GL tests. + cvcgl_stream_bind cvcgl_stream_view + cvcgl_camera_source cvcgl_audio_source cvcgl_audio_output) set_tests_properties(${_cvcgl_gl_tests} PROPERTIES RESOURCE_LOCK cvcgl_gl_context) # ── examples (opt-in, OFF by default) ──