diff options
author | Vasil Velichkov <vvvelichkov@gmail.com> | 2019-09-02 19:32:19 +0300 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2021-05-03 07:14:00 +0200 |
commit | 5e0ea65121eac6e450de938301ffc6fea35055d6 (patch) | |
tree | f28438e055f7988cf0653983999bddffe7e16a7a /tests/scripts/decrypt.sh | |
parent | 9feb7da807db04883c4c7203851d05fb26c46d3a (diff) |
travis: gnuradio-companion 3.8 does not have --version parameter
And currently grgsm, gr-osmosdr and gr-iqbal are installed in
/usr/local/lib/python3/dist-packages/ which is not in the default python
search path.
Change-Id: I7e00c84a4b72e9fa1dcf5ac453882f1733724ac0
Diffstat (limited to 'tests/scripts/decrypt.sh')
-rwxr-xr-x | tests/scripts/decrypt.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/scripts/decrypt.sh b/tests/scripts/decrypt.sh index afd12cc..7f9bc60 100755 --- a/tests/scripts/decrypt.sh +++ b/tests/scripts/decrypt.sh @@ -3,7 +3,11 @@ TEST_DIR=`dirname "$0"` # PYTHONPATH and LD_LIBRARY_PATH are needed on Fedora 26 -export PYTHONPATH=/usr/local/lib64/python2.7/site-packages/:/usr/local/lib64/python2.7/site-packages/grgsm/:$PYTHONPATH +# +# /usr/local/lib/python3/dist-packages/ is currently needed on Debian Testing and Kali Rolling +# https://salsa.debian.org/bottoms/pkg-gnuradio/blob/unstable/debian/patches/debian-python-install#L8 +# +export PYTHONPATH=/usr/local/lib/python3/dist-packages/:/usr/local/lib64/python2.7/site-packages/:/usr/local/lib64/python2.7/site-packages/grgsm/:$PYTHONPATH export LD_LIBRARY_PATH=/usr/local/lib64/:$LD_LIBRARY_PATH export AP_DECODE="grgsm_decode" @@ -14,7 +18,8 @@ export RESULT_OBTAINED="grgsm_decode_test1_result" export RUNLINE="$AP_DECODE -c $SHORTENED_CAPFILE -s $((100000000/174)) -m SDCCH8 -t 1 -k 0x1E,0xF0,0x0B,0xAB,0x3B,0xAC,0x70,0x02 -v --ppm -10" echo "Testing with:" echo " $RUNLINE" -gnuradio-companion --version +#gnuradio 3.8 does not have --version parameter +#gnuradio-companion --version cd $TEST_DIR cat $CAPFILE | head -c -37000000 | head -c 35800000 > $SHORTENED_CAPFILE |