summaryrefslogtreecommitdiff
path: root/gr-qtgui/python
diff options
context:
space:
mode:
authorJosh Blum2012-11-13 17:31:45 -0800
committerJohnathan Corgan2012-11-14 09:23:52 -0800
commitc4c0ce97f4f5586548a603acc8c9721f416c5803 (patch)
tree7ea011b57e0cf0c2133df3768071303c94d7c516 /gr-qtgui/python
parent37f752257d7fc336de1fe85a5a83134e66441e6e (diff)
downloadgnuradio-c4c0ce97f4f5586548a603acc8c9721f416c5803.tar.gz
gnuradio-c4c0ce97f4f5586548a603acc8c9721f416c5803.tar.bz2
gnuradio-c4c0ce97f4f5586548a603acc8c9721f416c5803.zip
gr: same change for common PYTHON test paths
Conflicts: gr-analog/python/CMakeLists.txt gr-blocks/python/CMakeLists.txt
Diffstat (limited to 'gr-qtgui/python')
-rw-r--r--gr-qtgui/python/CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/gr-qtgui/python/CMakeLists.txt b/gr-qtgui/python/CMakeLists.txt
index 34a08fd10..582285808 100644
--- a/gr-qtgui/python/CMakeLists.txt
+++ b/gr-qtgui/python/CMakeLists.txt
@@ -30,17 +30,17 @@ GR_PYTHON_INSTALL(
# Handle the unit tests
########################################################################
if(ENABLE_TESTING)
+
+list(APPEND GR_TEST_PYTHON_DIRS
+ ${CMAKE_BINARY_DIR}/gr-qtgui/python
+ ${CMAKE_BINARY_DIR}/gr-qtgui/swig
+)
+list(APPEND GR_TEST_TARGET_DEPS gnuradio-qtgui)
+
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-qtgui/python
- ${CMAKE_BINARY_DIR}/gr-qtgui/swig
- )
- list(APPEND GR_TEST_TARGET_DEPS gnuradio-qtgui)
GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} ${py_qa_test_file})
endforeach(py_qa_test_file)
endif(ENABLE_TESTING)