Files
salmanoff/stimBuffApis/lcameraBuff/tests/CMakeLists.txt
T
hayodea 63532a6ee2 Resolve device selector on detach and add YuvStimProducer state tests.
Detach finds the shared producer via lcameraDev_resolveDeviceSelectorCReq
then removes buffers by attach identity; unit tests cover quale guards.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 11:04:22 -04:00

30 lines
799 B
CMake

add_executable(lcameraBuff_unit_tests
lcameraBuffParams_tests.cpp
pixelAndColorFormatDecisions_tests.cpp
yuvLayoutClassification_tests.cpp
yuvStimProducer_state_tests.cpp
hilSmoCallbacksStub.cpp
)
target_include_directories(lcameraBuff_unit_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_unit_tests
gtest_main
lcameraBuff
spinscale_test_support
${Boost_LIBRARIES}
${OPENCL_LIBRARIES}
)
add_dependencies(lcameraBuff_unit_tests gtest_main spinscale_test_support)
add_test(NAME lcameraBuff_unit_tests COMMAND lcameraBuff_unit_tests)