diff options
-rw-r--r-- | gr-pager/python/pager/CMakeLists.txt | 19 | ||||
-rwxr-xr-x | gr-pager/python/pager/qa_pager.py | 3 |
2 files changed, 11 insertions, 11 deletions
diff --git a/gr-pager/python/pager/CMakeLists.txt b/gr-pager/python/pager/CMakeLists.txt index 30ac0364d7..c93573c2ad 100644 --- a/gr-pager/python/pager/CMakeLists.txt +++ b/gr-pager/python/pager/CMakeLists.txt @@ -34,16 +34,17 @@ GR_PYTHON_INSTALL( ######################################################################## if(ENABLE_TESTING) -list(APPEND GR_TEST_PYTHON_DIRS - ${CMAKE_BINARY_DIR}/gr-pager/python - ${CMAKE_BINARY_DIR}/gr-pager/swig -) -list(APPEND GR_TEST_TARGET_DEPS gnuradio-pager) + set(GR_TEST_TARGET_DEPS "") + set(GR_TEST_LIBRARY_DIRS "") + set(GR_TEST_PYTHON_DIRS + ${CMAKE_BINARY_DIR}/gruel/src/python + ${CMAKE_BINARY_DIR}/gnuradio-core/src/python + ) -include(GrTest) -file(GLOB py_qa_test_files "qa_*.py") -foreach(py_qa_test_file ${py_qa_test_files}) + include(GrTest) + file(GLOB py_qa_test_files "qa_*.py") + foreach(py_qa_test_file ${py_qa_test_files}) get_filename_component(py_qa_test_name ${py_qa_test_file} NAME_WE) GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} ${py_qa_test_file}) -endforeach(py_qa_test_file) + endforeach(py_qa_test_file) endif(ENABLE_TESTING) diff --git a/gr-pager/python/pager/qa_pager.py b/gr-pager/python/pager/qa_pager.py index e07291966f..dc9705e292 100755 --- a/gr-pager/python/pager/qa_pager.py +++ b/gr-pager/python/pager/qa_pager.py @@ -20,8 +20,7 @@ # Boston, MA 02110-1301, USA. # -from gnuradio import gr, gr_unittest -import pager_swig as pager +from gnuradio import gr, gr_unittest, pager class test_pager(gr_unittest.TestCase): |