diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-08-12 14:51:29 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:34 -0800 |
commit | 986316132094f2218bd6ef51a182bb2b9600c5ab (patch) | |
tree | 928c5584ccd816d20d633f33732c7186145d2d2f /host/tests/CMakeLists.txt | |
parent | ec991efc06676521267aa05259df59898c758338 (diff) | |
download | uhd-986316132094f2218bd6ef51a182bb2b9600c5ab.tar.gz uhd-986316132094f2218bd6ef51a182bb2b9600c5ab.tar.bz2 uhd-986316132094f2218bd6ef51a182bb2b9600c5ab.zip |
rfnoc: tests: Let block unit tests use regular factory
Up until now, these unit tests were bypassing the factory, and directly
linking against the relevant block factories. This can cause linker
issues, but it also doesn't test code paths. This change makes the unit
tests look more like the actual usage.
Diffstat (limited to 'host/tests/CMakeLists.txt')
-rw-r--r-- | host/tests/CMakeLists.txt | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt index 9bc267e10..643efba34 100644 --- a/host/tests/CMakeLists.txt +++ b/host/tests/CMakeLists.txt @@ -253,18 +253,8 @@ set_source_files_properties( UHD_ADD_NONAPI_TEST( TARGET rfnoc_blocks_test.cpp EXTRA_SOURCES - ${CMAKE_SOURCE_DIR}/lib/rfnoc/noc_block_base.cpp - ${CMAKE_SOURCE_DIR}/lib/rfnoc/block_id.cpp - ${CMAKE_SOURCE_DIR}/lib/utils/compat_check.cpp - ${CMAKE_SOURCE_DIR}/lib/utils/system_time.cpp - ${CMAKE_SOURCE_DIR}/lib/rfnoc/ddc_block_control.cpp - ${CMAKE_SOURCE_DIR}/lib/rfnoc/duc_block_control.cpp - ${CMAKE_SOURCE_DIR}/lib/rfnoc/null_block_control.cpp - ${CMAKE_SOURCE_DIR}/lib/rfnoc/register_iface_holder.cpp - ${CMAKE_SOURCE_DIR}/lib/usrp/cores/dsp_core_utils.cpp ${CMAKE_SOURCE_DIR}/lib/rfnoc/graph.cpp - INCLUDE_DIRS - ${CMAKE_BINARY_DIR}/lib/ic_reg_maps/ + ${CMAKE_SOURCE_DIR}/lib/rfnoc/registry_factory.cpp ) UHD_ADD_NONAPI_TEST( |