aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasil Velichkov <vvvelichkov@gmail.com>2019-09-09 04:03:26 +0300
committerPiotr Krysik <ptrkrysik@gmail.com>2020-02-14 15:14:59 +0000
commitda29a9570f959921c6e24bcd6ce999c4359969df (patch)
tree4ba0292ed35d8b3685fb8e4bf2363a3dfecee04b
parent9f4dc9547b853b4f794ad6cfff89af9df1569927 (diff)
Do not add python/misc_utils to PYTHONPATH when executing tests
-rw-r--r--python/CMakeLists.txt2
-rwxr-xr-xpython/qa_arfcn.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 9cd7045..31efedb 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -47,7 +47,7 @@ GR_PYTHON_INSTALL(
include(GrTest)
set(GR_TEST_TARGET_DEPS gr-gsm)
-set(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/swig:${CMAKE_BINARY_DIR}/python/misc_utils)
+set(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/swig)
set(GR_TEST_ENVIRONS "CMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}")
GR_ADD_TEST(qa_arfcn ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_arfcn.py)
GR_ADD_TEST(qa_decryption ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_decryption.py)
diff --git a/python/qa_arfcn.py b/python/qa_arfcn.py
index 8fc4695..53c8fff 100755
--- a/python/qa_arfcn.py
+++ b/python/qa_arfcn.py
@@ -23,7 +23,7 @@
from gnuradio import gr, gr_unittest, blocks
import grgsm_swig as grgsm
-import arfcn
+from misc_utils import arfcn
import os
import sys