diff options
author | Ben Reynwar <ben@reynwar.net> | 2013-03-11 23:01:03 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2013-03-11 23:01:03 -0700 |
commit | 8417ae426fb8eaab34574e4eb083590ab5690b14 (patch) | |
tree | cf9260a5653023d6d4f4bf5393455e74bd3c07e5 /gr-fcd/python | |
parent | 9ff970063727999752c6e2339ffb986a9f311fa6 (diff) |
fcd: Updating testing environment.
Diffstat (limited to 'gr-fcd/python')
-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): |