From c7134fff20cacd9185ba3d8b84657582dbe68d71 Mon Sep 17 00:00:00 2001 From: Vasil Velichkov Date: Mon, 9 Sep 2019 04:03:26 +0300 Subject: Do not add python/misc_utils to PYTHONPATH when executing tests Change-Id: Ib19a181a3fd9bb78c1d3989bad0e55433f060950 --- python/CMakeLists.txt | 2 +- python/qa_arfcn.py | 2 +- 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 -- cgit v1.2.3