From 8b080a8a14e943e998b9c301106456e41d176207 Mon Sep 17 00:00:00 2001 From: Toni Jones Date: Tue, 5 Mar 2019 11:09:12 -0600 Subject: 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. --- mpm/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'mpm/CMakeLists.txt') 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) -- cgit v1.2.3