2010-07-24 19:43:53 +00:00
#!/bin/sh
#
# spandsp fax tests
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 2.1,
# as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
run_tsb85_test( )
{
2015-04-13 19:25:17 +00:00
rm -f tsb85_tests.tif
2010-07-24 19:43:53 +00:00
echo ./tsb85_tests ${ TEST }
./tsb85_tests -x ../spandsp/fax-tests.xml ${ TEST } 2>xyzzy2
RETVAL = $?
if [ $RETVAL != 0 ]
then
echo tsb85_tests ${ TEST } failed!
exit $RETVAL
fi
}
2016-01-23 17:58:36 +00:00
for TEST in PPS-MPS-lost-PPS V17-12000-V29-9600 Phase-D-collision Modem-change-at-CTC ECM-DCN-clipped Non-ECM-DCN-clipped Tx-EOP-echo Tx-PPS-echo Invalid-signalling-rate No-caller-response No-answerer-response
2011-07-02 13:16:52 +00:00
do
2010-07-24 19:43:53 +00:00
run_tsb85_test
done