Add env-gated lcameraBuff configure HIL tests on baked USB profile.

HIL attaches Y/U/V channels, verifies shared producer state, and detaches
using an alternate selector string for the U channel quale.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-14 11:05:17 -04:00
parent 63532a6ee2
commit e261787cfe
2 changed files with 357 additions and 0 deletions
@@ -27,3 +27,33 @@ target_link_libraries(lcameraBuff_unit_tests
add_dependencies(lcameraBuff_unit_tests gtest_main spinscale_test_support)
add_test(NAME lcameraBuff_unit_tests COMMAND lcameraBuff_unit_tests)
add_executable(lcameraBuff_configure_hil_tests
lcameraBuff_configure_hil_tests.cpp
hilSmoCallbacksStub.cpp
)
target_include_directories(lcameraBuff_configure_hil_tests PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/stimBuffApis/lcameraBuff
${CMAKE_SOURCE_DIR}/commonLibs/lcameraDev
${CMAKE_SOURCE_DIR}/libspinscale/tests
${CMAKE_SOURCE_DIR}/tests/fixtures
${CMAKE_SOURCE_DIR}/include
${CMAKE_BINARY_DIR}/include
)
target_link_libraries(lcameraBuff_configure_hil_tests
gtest_main
lcameraBuff
lcameraDev
spinscale_test_support
smocore
${Boost_LIBRARIES}
${OPENCL_LIBRARIES}
)
add_dependencies(lcameraBuff_configure_hil_tests gtest_main spinscale_test_support)
add_test(NAME lcameraBuff_configure_hil_tests COMMAND lcameraBuff_configure_hil_tests)
set_tests_properties(lcameraBuff_configure_hil_tests PROPERTIES LABELS "HIL")