diff options
Diffstat (limited to 'gr-wavelet/python')
-rw-r--r-- | gr-wavelet/python/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | gr-wavelet/python/qa_classify.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gr-wavelet/python/CMakeLists.txt b/gr-wavelet/python/CMakeLists.txt index f118683954..a884c58052 100644 --- a/gr-wavelet/python/CMakeLists.txt +++ b/gr-wavelet/python/CMakeLists.txt @@ -40,6 +40,8 @@ foreach(py_qa_test_file ${py_qa_test_files}) ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/swig ${CMAKE_BINARY_DIR}/gr-wavelet/python ${CMAKE_BINARY_DIR}/gr-wavelet/swig + ${CMAKE_BINARY_DIR}/gr-analog/python + ${CMAKE_BINARY_DIR}/gr-analog/swig ) set(GR_TEST_TARGET_DEPS volk gruel gnuradio-core gnuradio-wavelet) GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} ${py_qa_test_file}) diff --git a/gr-wavelet/python/qa_classify.py b/gr-wavelet/python/qa_classify.py index 5701bce8c1..0906761aca 100755 --- a/gr-wavelet/python/qa_classify.py +++ b/gr-wavelet/python/qa_classify.py @@ -26,6 +26,7 @@ import copy #import pygsl.wavelet as wavelet # FIXME: pygsl not checked for in config import math import wavelet_swig +import analog_swig as analog def sqr(x): return x*x @@ -66,7 +67,7 @@ class test_classify(gr_unittest.TestCase): trg_data = src_data * 0.5 src = gr.vector_source_f(src_data) dst = gr.vector_sink_f() - rail = gr.rail_ff(-0.5, 0.5) + rail = analog.rail_ff(-0.5, 0.5) self.tb.connect(src, rail) self.tb.connect(rail, dst) self.tb.run() |