diff options
author | Johnathan Corgan | 2012-11-14 09:52:26 -0800 |
---|---|---|
committer | Johnathan Corgan | 2012-11-14 09:52:26 -0800 |
commit | 69d2ba539e1774a30ef44685ba82bdb0c54b5ca4 (patch) | |
tree | 6f0ba70d3ab3e1acd8ebcf92945aee2b089c2f67 /gr-blocks/python | |
parent | 0ffb07f4f1763ae6f5cc9cb2910ba20241e84bca (diff) | |
download | gnuradio-69d2ba539e1774a30ef44685ba82bdb0c54b5ca4.tar.gz gnuradio-69d2ba539e1774a30ef44685ba82bdb0c54b5ca4.tar.bz2 gnuradio-69d2ba539e1774a30ef44685ba82bdb0c54b5ca4.zip |
gr: apply pattern for g37f7522 and gc4c0ce9 to gr-analog and gr-blocks
Diffstat (limited to 'gr-blocks/python')
-rw-r--r-- | gr-blocks/python/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gr-blocks/python/CMakeLists.txt b/gr-blocks/python/CMakeLists.txt index 5044e2320..710ab155c 100644 --- a/gr-blocks/python/CMakeLists.txt +++ b/gr-blocks/python/CMakeLists.txt @@ -31,17 +31,17 @@ GR_PYTHON_INSTALL( # Handle the unit tests ######################################################################## if(ENABLE_TESTING) + +list(APPEND GR_TEST_PYTHON_DIRS + ${CMAKE_BINARY_DIR}/gr-blocks/python + ${CMAKE_BINARY_DIR}/gr-blocks/swig +) +list(APPEND GR_TEST_TARGET_DEPS gnuradio-blocks) + 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) - set(GR_TEST_PYTHON_DIRS - ${CMAKE_BINARY_DIR}/gnuradio-core/src/python - ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/swig - ${CMAKE_BINARY_DIR}/gr-blocks/python - ${CMAKE_BINARY_DIR}/gr-blocks/swig - ) - set(GR_TEST_TARGET_DEPS gruel gnuradio-core gnuradio-blocks) GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} ${py_qa_test_file}) endforeach(py_qa_test_file) endif(ENABLE_TESTING) |