summaryrefslogtreecommitdiff
path: root/gruel
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2013-03-10 20:24:46 -0700
committerBen Reynwar <ben@reynwar.net>2013-03-10 20:59:20 -0700
commit8d32ed3e8170b327282c34ff0b40a6f170cdedbe (patch)
treea371266260ba49053faecf5a738ff08dbb805615 /gruel
parent2b918e2536aab4a55cc2901cd3082ffb736181d6 (diff)
gruel: Updating testing environment.
Diffstat (limited to 'gruel')
-rw-r--r--gruel/src/python/gruel/CMakeLists.txt6
-rw-r--r--gruel/src/python/pmt/CMakeLists.txt5
-rwxr-xr-xgruel/src/python/pmt/qa_pmt.py2
3 files changed, 6 insertions, 7 deletions
diff --git a/gruel/src/python/gruel/CMakeLists.txt b/gruel/src/python/gruel/CMakeLists.txt
index 1c01df3c68..377d1c4824 100644
--- a/gruel/src/python/gruel/CMakeLists.txt
+++ b/gruel/src/python/gruel/CMakeLists.txt
@@ -36,11 +36,11 @@ 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_TARGET_DEPS "")
+ set(GR_TEST_LIBRARY_DIRS "")
set(GR_TEST_PYTHON_DIRS
- ${CMAKE_BINARY_DIR}/gruel/src/python
- ${CMAKE_BINARY_DIR}/gruel/src/swig
+ ${CMAKE_BINARY_DIR}/gruel/src/python
)
- set(GR_TEST_TARGET_DEPS gruel gnuradio-core)
GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} ${py_qa_test_file})
endforeach(py_qa_test_file)
endif(ENABLE_TESTING)
diff --git a/gruel/src/python/pmt/CMakeLists.txt b/gruel/src/python/pmt/CMakeLists.txt
index 1d99d1fe29..930cfb8554 100644
--- a/gruel/src/python/pmt/CMakeLists.txt
+++ b/gruel/src/python/pmt/CMakeLists.txt
@@ -37,11 +37,10 @@ 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_TARGET_DEPS "")
+ set(GR_TEST_LIBRARY_DIRS "")
set(GR_TEST_PYTHON_DIRS
${CMAKE_BINARY_DIR}/gruel/src/python
- ${CMAKE_BINARY_DIR}/gruel/src/swig
- )
- set(GR_TEST_TARGET_DEPS gruel gnuradio-core)
)
GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} ${py_qa_test_file})
endforeach(py_qa_test_file)
diff --git a/gruel/src/python/pmt/qa_pmt.py b/gruel/src/python/pmt/qa_pmt.py
index c8d3df93b2..8cb282a75c 100755
--- a/gruel/src/python/pmt/qa_pmt.py
+++ b/gruel/src/python/pmt/qa_pmt.py
@@ -21,7 +21,7 @@
#
import unittest
-import pmt_swig as pmt
+import pmt
class test_gruel_pmt(unittest.TestCase):