diff options
-rw-r--r-- | gr-fcd/python/fcd/CMakeLists.txt | 19 | ||||
-rwxr-xr-x | gr-fcd/python/fcd/qa_fcd.py | 3 |
2 files changed, 11 insertions, 11 deletions
diff --git a/gr-fcd/python/fcd/CMakeLists.txt b/gr-fcd/python/fcd/CMakeLists.txt index 39ec5efe9e..7fe226a0f7 100644 --- a/gr-fcd/python/fcd/CMakeLists.txt +++ b/gr-fcd/python/fcd/CMakeLists.txt @@ -32,16 +32,17 @@ GR_PYTHON_INSTALL( ######################################################################## if(ENABLE_TESTING) -list(APPEND GR_TEST_PYTHON_DIRS - ${CMAKE_BINARY_DIR}/gr-fcd/python - ${CMAKE_BINARY_DIR}/gr-fcd/swig -) -list(APPEND GR_TEST_TARGET_DEPS gnuradio-audio gnuradio-fcd) + 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-fcd/python/fcd/qa_fcd.py b/gr-fcd/python/fcd/qa_fcd.py index 0993cab425..33771be5ff 100755 --- a/gr-fcd/python/fcd/qa_fcd.py +++ b/gr-fcd/python/fcd/qa_fcd.py @@ -20,8 +20,7 @@ # Boston, MA 02110-1301, USA. # -from gnuradio import gr, gr_unittest -import fcd_swig +from gnuradio import gr, gr_unittest, fcd class test_fcd(gr_unittest.TestCase): |