809861be2b
Provide ensureNoDuplicateQualeIface and getAttachedStimulusBufferByAttachIdentity so session-scoped stimBuff plugins can reject duplicate quales and detach by stable DAP line identity rather than full spec equality. Co-authored-by: Cursor <cursoragent@cursor.com>
70 lines
1.6 KiB
CMake
70 lines
1.6 KiB
CMake
add_executable(deviceAttachmentSpecParams_tests
|
|
deviceAttachmentSpecParams_tests.cpp
|
|
)
|
|
|
|
target_include_directories(deviceAttachmentSpecParams_tests PRIVATE
|
|
${CMAKE_SOURCE_DIR}/include
|
|
${CMAKE_BINARY_DIR}/include
|
|
${CMAKE_SOURCE_DIR}/libspinscale/tests
|
|
)
|
|
|
|
target_link_libraries(deviceAttachmentSpecParams_tests
|
|
gtest_main
|
|
spinscale_test_support
|
|
${Boost_LIBRARIES}
|
|
)
|
|
|
|
add_dependencies(deviceAttachmentSpecParams_tests gtest_main)
|
|
|
|
add_test(
|
|
NAME deviceAttachmentSpecParams_tests
|
|
COMMAND deviceAttachmentSpecParams_tests)
|
|
|
|
add_executable(intrinThresholdParams_tests
|
|
intrinThresholdParams_tests.cpp
|
|
)
|
|
|
|
target_include_directories(intrinThresholdParams_tests PRIVATE
|
|
${CMAKE_SOURCE_DIR}/include
|
|
${CMAKE_BINARY_DIR}/include
|
|
${CMAKE_SOURCE_DIR}/libspinscale/tests
|
|
)
|
|
|
|
target_link_libraries(intrinThresholdParams_tests
|
|
gtest_main
|
|
spinscale_test_support
|
|
${Boost_LIBRARIES}
|
|
)
|
|
|
|
add_dependencies(intrinThresholdParams_tests gtest_main)
|
|
|
|
add_test(
|
|
NAME intrinThresholdParams_tests
|
|
COMMAND intrinThresholdParams_tests)
|
|
|
|
add_executable(stimulusProducerQualeIface_tests
|
|
stimulusProducerQualeIface_tests.cpp
|
|
)
|
|
|
|
target_include_directories(stimulusProducerQualeIface_tests PRIVATE
|
|
${CMAKE_SOURCE_DIR}/include
|
|
${CMAKE_BINARY_DIR}/include
|
|
${CMAKE_SOURCE_DIR}/libspinscale/tests
|
|
${CMAKE_SOURCE_DIR}/smocore/include
|
|
)
|
|
|
|
target_link_libraries(stimulusProducerQualeIface_tests
|
|
gtest_main
|
|
attachmentSupport
|
|
spinscale
|
|
spinscale_test_support
|
|
${Boost_LIBRARIES}
|
|
${OPENCL_LIBRARIES}
|
|
)
|
|
|
|
add_dependencies(stimulusProducerQualeIface_tests gtest_main)
|
|
|
|
add_test(
|
|
NAME stimulusProducerQualeIface_tests
|
|
COMMAND stimulusProducerQualeIface_tests)
|