diff options
author | Toni Jones <toni.jones@ni.com> | 2019-03-05 11:09:12 -0600 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-03-26 15:15:05 -0700 |
commit | 8b080a8a14e943e998b9c301106456e41d176207 (patch) | |
tree | 721757e55b073c28fd89892d1d074ecd689a0f54 /mpm/CMakeLists.txt | |
parent | 0e0a30595479d1ebd589355a7ee77968e6e927a4 (diff) | |
download | uhd-8b080a8a14e943e998b9c301106456e41d176207.tar.gz uhd-8b080a8a14e943e998b9c301106456e41d176207.tar.bz2 uhd-8b080a8a14e943e998b9c301106456e41d176207.zip |
cmake: Add unit testing framework to MPM
Add unit testing framework to MPM which can be run by calling
"make test". The testing is done using the built in unittest Python
module. Tests can be run on a dev machine or on the USRP itself when
compiling natively.
Diffstat (limited to 'mpm/CMakeLists.txt')
-rw-r--r-- | mpm/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/CMakeLists.txt b/mpm/CMakeLists.txt index f0aed7201..1a5946b63 100644 --- a/mpm/CMakeLists.txt +++ b/mpm/CMakeLists.txt @@ -170,6 +170,7 @@ install(TARGETS usrp-periphs LIBRARY DESTINATION ${LIBRARY_DIR} COMPONENT librar set_target_properties(usrp-periphs PROPERTIES VERSION "${MPM_VERSION_MAJOR}.${MPM_VERSION_API}.${MPM_VERSION_ABI}") set_target_properties(usrp-periphs PROPERTIES SOVERSION ${MPM_VERSION_MAJOR}) +enable_testing() add_subdirectory(python) add_subdirectory(tools) add_subdirectory(systemd) |