aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2019-05-07 17:33:36 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:16 -0800
commitcd36d9d2d3dfdecae42b715d734547e48347cf4a (patch)
treea80ad2f1d44da87887fb7c21bb5fc2835a7651e7 /host/tests/CMakeLists.txt
parent53becb55e1211a85b27a3d862afec4e7ffd0818e (diff)
downloaduhd-cd36d9d2d3dfdecae42b715d734547e48347cf4a.tar.gz
uhd-cd36d9d2d3dfdecae42b715d734547e48347cf4a.tar.bz2
uhd-cd36d9d2d3dfdecae42b715d734547e48347cf4a.zip
rfnoc: adding client_zero
- Adding client_zero class, which gathers information about our device form the global registers on port 0 of the RFNoC backend registers. - adding unit tests to exercise client_zero - mock_reg_iface class: adding fake register_iface so we can run unit tests in software only Co-authored-by: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'host/tests/CMakeLists.txt')
-rw-r--r--host/tests/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt
index b6ce21173..88b673bb1 100644
--- a/host/tests/CMakeLists.txt
+++ b/host/tests/CMakeLists.txt
@@ -235,6 +235,11 @@ UHD_ADD_NONAPI_TEST(
${CMAKE_SOURCE_DIR}/lib/rfnoc/chdr/
)
+UHD_ADD_NONAPI_TEST(
+ TARGET client_zero_test.cpp
+ EXTRA_SOURCES
+ ${CMAKE_SOURCE_DIR}/lib/rfnoc/client_zero.cpp
+)
########################################################################
# demo of a loadable module