2
0

tsb85_extra_tests.sh 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. #!/bin/sh
  2. #
  3. # spandsp fax tests
  4. #
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License version 2.1,
  7. # as published by the Free Software Foundation.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU Lesser General Public
  15. # License along with this program; if not, write to the Free Software
  16. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17. run_tsb85_test()
  18. {
  19. rm -f tsb85_tests.tif
  20. echo ./tsb85_tests ${TEST}
  21. ./tsb85_tests -x ../spandsp/fax-tests.xml ${TEST} 2>xyzzy2
  22. RETVAL=$?
  23. if [ $RETVAL != 0 ]
  24. then
  25. echo tsb85_tests ${TEST} failed!
  26. exit $RETVAL
  27. fi
  28. }
  29. 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 T1-after-EOM T1-after-EOMx
  30. do
  31. run_tsb85_test
  32. done