aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
Diffstat (limited to 'host/tests')
-rw-r--r--host/tests/CMakeLists.txt6
-rw-r--r--host/tests/system_time_test.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt
index 769c09796..e476eb61b 100644
--- a/host/tests/CMakeLists.txt
+++ b/host/tests/CMakeLists.txt
@@ -157,6 +157,12 @@ UHD_ADD_NONAPI_TEST(
)
UHD_ADD_NONAPI_TEST(
+ TARGET "system_time_test.cpp"
+ EXTRA_SOURCES
+ "${CMAKE_SOURCE_DIR}/lib/utils/system_time.cpp"
+)
+
+UHD_ADD_NONAPI_TEST(
TARGET "nocscript_ftable_test.cpp"
EXTRA_SOURCES
${CMAKE_SOURCE_DIR}/lib/rfnoc/nocscript/function_table.cpp
diff --git a/host/tests/system_time_test.cpp b/host/tests/system_time_test.cpp
index 3f4f8a814..5e39604c8 100644
--- a/host/tests/system_time_test.cpp
+++ b/host/tests/system_time_test.cpp
@@ -4,8 +4,8 @@
// SPDX-License-Identifier: GPL-3.0+
//
-#include "system_time.hpp"
#include <uhd/types/time_spec.hpp>
+#include <uhdlib/utils/system_time.hpp>
#include <boost/test/unit_test.hpp>
#include <chrono>
#include <cstdint>