diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-05-06 22:18:04 -0700 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-06-21 20:48:26 +0200 |
commit | e50fbe8c5411700ee4c5dc09e478caafad96f95d (patch) | |
tree | 284492d3fbe6a631f5622efbc304fd5651644db3 /gr-digital/lib/CMakeLists.txt | |
parent | ade6558512d57b10a98d8594da2b58f1c763de4c (diff) |
digital: Replace QA test framework w/ Boost UTF
Diffstat (limited to 'gr-digital/lib/CMakeLists.txt')
-rw-r--r-- | gr-digital/lib/CMakeLists.txt | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/gr-digital/lib/CMakeLists.txt b/gr-digital/lib/CMakeLists.txt index 1fcae4713a..b6754d1ce9 100644 --- a/gr-digital/lib/CMakeLists.txt +++ b/gr-digital/lib/CMakeLists.txt @@ -211,27 +211,18 @@ if(ENABLE_TESTING) include_directories( ${GR_DIGITAL_INCLUDE_DIRS} - ${CPPUNIT_INCLUDE_DIRS}) - link_directories(${CPPUNIT_LIBRARY_DIRS}) + ${GNURADIO_RUNTIME_INCLUDE_DIRS} + ) list(APPEND test_gr_digital_sources - ${CMAKE_CURRENT_SOURCE_DIR}/test_gr_digital.cc - ${CMAKE_CURRENT_SOURCE_DIR}/qa_digital.cc - ${CMAKE_CURRENT_SOURCE_DIR}/qa_header_format.cc - ${CMAKE_CURRENT_SOURCE_DIR}/qa_header_buffer.cc - ) - - add_executable(test-gr-digital ${test_gr_digital_sources}) - - list(APPEND GR_TEST_TARGET_DEPS test-gr-digital gnuradio-digital) - - target_link_libraries( - test-gr-digital - gnuradio-runtime - gnuradio-digital - ${Boost_LIBRARIES} - ${CPPUNIT_LIBRARIES} + qa_header_format.cc + qa_header_buffer.cc ) + list(APPEND GR_TEST_TARGET_DEPS gnuradio-digital) - GR_ADD_TEST(test_gr_digital test-gr-digital) + foreach(qa_file ${test_gr_digital_sources}) + GR_ADD_CPP_TEST("digital_${qa_file}" + ${CMAKE_CURRENT_SOURCE_DIR}/${qa_file} + ) + endforeach(qa_file) endif(ENABLE_TESTING) |