aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2019-05-25 00:14:36 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:20 -0800
commitb4bc85ac972b2e4f3e8e0b092947267f9f8aeee4 (patch)
treef3128013bf71d44ece3b408db6a03177c6fd5f56 /host/tests
parent1e65500d791461be9aa7a2d2646d463f536f49e3 (diff)
downloaduhd-b4bc85ac972b2e4f3e8e0b092947267f9f8aeee4.tar.gz
uhd-b4bc85ac972b2e4f3e8e0b092947267f9f8aeee4.tar.bz2
uhd-b4bc85ac972b2e4f3e8e0b092947267f9f8aeee4.zip
rfnoc: Moved chdr types/packet class out of chdr dir
- Moved chdr_packet and chdr_types from rfnoc/chdr to rfnoc and updated all references - Moved non-CHDR definitions to rfnoc_common.hpp
Diffstat (limited to 'host/tests')
-rw-r--r--host/tests/CMakeLists.txt8
-rw-r--r--host/tests/rfnoc_chdr_test.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt
index 0c48ae058..bd0964def 100644
--- a/host/tests/CMakeLists.txt
+++ b/host/tests/CMakeLists.txt
@@ -229,11 +229,11 @@ UHD_ADD_NONAPI_TEST(
UHD_ADD_NONAPI_TEST(
TARGET rfnoc_chdr_test.cpp
EXTRA_SOURCES
- ${CMAKE_SOURCE_DIR}/lib/rfnoc/chdr/chdr_types.cpp
- ${CMAKE_SOURCE_DIR}/lib/rfnoc/chdr/chdr_packet.cpp
+ ${CMAKE_SOURCE_DIR}/lib/rfnoc/chdr_types.cpp
+ ${CMAKE_SOURCE_DIR}/lib/rfnoc/chdr_packet.cpp
INCLUDE_DIRS
- ${CMAKE_BINARY_DIR}/lib/rfnoc/chdr/
- ${CMAKE_SOURCE_DIR}/lib/rfnoc/chdr/
+ ${CMAKE_BINARY_DIR}/lib/rfnoc/
+ ${CMAKE_SOURCE_DIR}/lib/rfnoc/
)
UHD_ADD_NONAPI_TEST(
diff --git a/host/tests/rfnoc_chdr_test.cpp b/host/tests/rfnoc_chdr_test.cpp
index 67993cb02..417ed2f96 100644
--- a/host/tests/rfnoc_chdr_test.cpp
+++ b/host/tests/rfnoc_chdr_test.cpp
@@ -6,8 +6,8 @@
#include <uhd/types/endianness.hpp>
#include <uhd/utils/byteswap.hpp>
-#include <uhdlib/rfnoc/chdr/chdr_packet.hpp>
-#include <uhdlib/rfnoc/chdr/chdr_types.hpp>
+#include <uhdlib/rfnoc/chdr_packet.hpp>
+#include <uhdlib/rfnoc/chdr_types.hpp>
#include <boost/format.hpp>
#include <boost/test/unit_test.hpp>
#include <iostream>