Fix of the test for Travis-CI

This commit is contained in:
Piotr Krysik 2016-03-13 19:17:53 +01:00
parent d169a249ce
commit addd554882
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash
TEST_DIR=`dirname "$0"`
export AP_DECODE="grgsm_decode"
export CAPFILE="../../test_data/vf_call6_a725_d174_g5_Kc1EF00BAB3BAC7002.cfile"
export SHORTENED_CAPFILE="tmp.cfile"
@ -9,6 +12,7 @@ echo "Testing with:"
echo " $RUNLINE"
gnuradio-companion --version
cd $TEST_DIR
cat $CAPFILE | head -c 6000000 > $SHORTENED_CAPFILE
$RUNLINE | tail -n +4 | tee $RESULT_OBTAINED