diff options
Diffstat (limited to 'mpm/python')
-rwxr-xr-x | mpm/python/setup.py.in | 1 | ||||
-rwxr-xr-x | mpm/python/tests/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mpm/python/setup.py.in b/mpm/python/setup.py.in index e131f02f1..226cf0270 100755 --- a/mpm/python/setup.py.in +++ b/mpm/python/setup.py.in @@ -36,6 +36,7 @@ setup(name='usrp_mpm', 'usrp_mpm.cores', 'usrp_mpm.sys_utils', 'usrp_mpm.xports', + 'usrp_mpm.simulator', ], install_requires=[ 'mprpc', diff --git a/mpm/python/tests/CMakeLists.txt b/mpm/python/tests/CMakeLists.txt index 26dcad40a..36bff9d3a 100755 --- a/mpm/python/tests/CMakeLists.txt +++ b/mpm/python/tests/CMakeLists.txt @@ -10,5 +10,7 @@ add_test( NAME mpm_unit_tests - COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/run_unit_tests.py ${MPM_DEVICE} + COMMAND ${CMAKE_COMMAND} -E env + PYTHONPATH=${CMAKE_BINARY_DIR}/python + ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/run_unit_tests.py ${MPM_DEVICE} ) |