aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/UHDUnitTest.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDUnitTest.cmake b/host/cmake/Modules/UHDUnitTest.cmake
index 340279b9b..d477dc966 100644
--- a/host/cmake/Modules/UHDUnitTest.cmake
+++ b/host/cmake/Modules/UHDUnitTest.cmake
@@ -130,6 +130,7 @@ function(UHD_ADD_PYTEST test_name)
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/python"
)
endif(ENABLE_QEMU_UNITTESTS)
+ # Include ${CMAKE_BINARY_DIR}/utils/ for testing the python utils
set_tests_properties(${test_name} PROPERTIES
- ENVIRONMENT PYTHONPATH=${CMAKE_SOURCE_DIR}/tests/common)
+ ENVIRONMENT PYTHONPATH=${CMAKE_SOURCE_DIR}/tests/common:${CMAKE_BINARY_DIR}/utils/)
endfunction(UHD_ADD_PYTEST)