[client] tests: add lgmp transport tests and update github workflow

This commit is contained in:
Geoffrey McRae
2026-07-31 13:08:30 +10:00
parent 9417a71264
commit 6fe0bc807a
5 changed files with 318 additions and 47 deletions

View File

@@ -44,6 +44,10 @@ endif()
option(ENABLE_RENDER_TESTS "Build framebuffer rendering integration tests" OFF)
add_feature_info(ENABLE_RENDER_TESTS ENABLE_RENDER_TESTS
"Pixel-accurate EGL rendering tests using the test transport.")
option(ENABLE_TRANSPORT_TESTS "Build transport integration tests"
${ENABLE_RENDER_TESTS})
add_feature_info(ENABLE_TRANSPORT_TESTS ENABLE_TRANSPORT_TESTS
"Transport lifecycle and protocol integration tests.")
if(ENABLE_RENDER_TESTS AND NOT ENABLE_TEST_TRANSPORT)
message(FATAL_ERROR "ENABLE_RENDER_TESTS requires ENABLE_TEST_TRANSPORT")
endif()
@@ -244,7 +248,7 @@ target_link_libraries(looking-glass-client
cimgui
)
if(ENABLE_RENDER_TESTS)
if(ENABLE_RENDER_TESTS OR ENABLE_TRANSPORT_TESTS)
include(CTest)
enable_testing()
add_subdirectory(tests)