Change in gr-gsm[master]: Do not add python/misc_utils to PYTHONPATH when executing tests

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

ptrkrysik gerrit-no-reply at lists.osmocom.org
Mon May 3 10:24:44 UTC 2021


Hello vvvelichkov,

I'd like you to do a code review. Please visit

    https://gerrit.osmocom.org/c/gr-gsm/+/24076

to review the following change.


Change subject: Do not add python/misc_utils to PYTHONPATH when executing tests
......................................................................

Do not add python/misc_utils to PYTHONPATH when executing tests

Change-Id: Ib19a181a3fd9bb78c1d3989bad0e55433f060950
---
M python/CMakeLists.txt
M python/qa_arfcn.py
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/gr-gsm refs/changes/76/24076/1

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 @@
 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
 

-- 
To view, visit https://gerrit.osmocom.org/c/gr-gsm/+/24076
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: gr-gsm
Gerrit-Branch: master
Gerrit-Change-Id: Ib19a181a3fd9bb78c1d3989bad0e55433f060950
Gerrit-Change-Number: 24076
Gerrit-PatchSet: 1
Gerrit-Owner: ptrkrysik <ptrkrysik at gmail.com>
Gerrit-Reviewer: vvvelichkov <vvvelichkov at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210503/c3c197f4/attachment.htm>


More information about the gerrit-log mailing list