diff options
author | Vasil Velichkov <vvvelichkov@gmail.com> | 2019-09-14 04:11:42 +0300 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2021-05-03 07:14:00 +0200 |
commit | cc8d86320ef9ae7a191344f16befc87c7c61bf24 (patch) | |
tree | 98f748c6537ff492a405323952d45c00c6961d2a | |
parent | 71fb85cc79a10a94acfc23cc251fb2af3f4201d6 (diff) |
tests: export VOLK_GENERIC=1 to workaround VOLK's bug 278
Change-Id: Ib9ad4384388e480b8fa2f91e02359c85c749e802
-rwxr-xr-x | tests/scripts/decode.sh | 6 | ||||
-rwxr-xr-x | tests/scripts/decrypt.sh | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/scripts/decode.sh b/tests/scripts/decode.sh index 1ec7bf8..402e818 100755 --- a/tests/scripts/decode.sh +++ b/tests/scripts/decode.sh @@ -25,7 +25,13 @@ ulimit -a cd "$TEST_DIR" || exit 1 head -c 6000000 $CAPFILE > $SHORTENED_CAPFILE +# VOLK_GENERIC=1 is a temporary workaround for the following VOLK's bug +# https://github.com/gnuradio/volk/pull/278 +# https://github.com/gnuradio/gnuradio/issues/2748 +export VOLK_GENERIC=1 + $RUNLINE | grep -A 999999 "860933 1329237: 59 06 1a 8f 6d 18 10 80 00 00 00 00 00 00 00 00 00 00 00 78 b9 00 00" | tee $RESULT_OBTAINED + diff $RESULT_EXPECTED $RESULT_OBTAINED TEST_RESULT=$? diff --git a/tests/scripts/decrypt.sh b/tests/scripts/decrypt.sh index 5c33537..335528a 100755 --- a/tests/scripts/decrypt.sh +++ b/tests/scripts/decrypt.sh @@ -25,6 +25,11 @@ ulimit -a cd "$TEST_DIR" || exit 1 head -c -37000000 $CAPFILE | head -c 35800000 > $SHORTENED_CAPFILE +# VOLK_GENERIC=1 is a temporary workaround for the following VOLK's bug +# https://github.com/gnuradio/volk/pull/278 +# https://github.com/gnuradio/gnuradio/issues/2748 +export VOLK_GENERIC=1 + $RUNLINE | grep -A 999999 "862210 1331352: 03 03 01 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b" | tee $RESULT_OBTAINED diff -u $RESULT_EXPECTED $RESULT_OBTAINED TEST_RESULT=$? |