tsb85_tests.sh 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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 ${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 MRGN01 MRGN02 MRGN03 MRGN04 MRGN05 MRGN06a MRGN06b MRGN07 MRGN08
  30. do
  31. run_tsb85_test
  32. done
  33. for TEST in MRGN09 MRGN10 MRGN11 MRGN12 MRGN13 MRGN14 MRGN15 MRGN16 MRGN17
  34. do
  35. run_tsb85_test
  36. done
  37. for TEST in ORGC01 ORGC02 ORGC03
  38. do
  39. run_tsb85_test
  40. done
  41. for TEST in OREN01 OREN02 OREN03 OREN04 OREN05 OREN06 OREN07 OREN08 OREN09 OREN10
  42. do
  43. run_tsb85_test
  44. done
  45. for TEST in MRGX01 MRGX02 MRGX03 MRGX04 MRGX05 MRGX06 MRGX07 MRGX08
  46. do
  47. run_tsb85_test
  48. done
  49. for TEST in MRGX09 MRGX10 MRGX11 MRGX12 MRGX13 MRGX14 MRGX15
  50. do
  51. run_tsb85_test
  52. done
  53. for TEST in MTGP01 MTGP02 OTGP03
  54. do
  55. run_tsb85_test
  56. done
  57. for TEST in MTGN01 MTGN02 MTGN03 MTGN04 MTGN05 MTGN06 MTGN07 MTGN08 MTGN09 MTGN10
  58. do
  59. run_tsb85_test
  60. done
  61. for TEST in MTGN11 MTGN12 MTGN13 MTGN14 MTGN15 MTGN16 MTGN17 MTGN18 MTGN19 MTGN20
  62. do
  63. run_tsb85_test
  64. done
  65. for TEST in MTGN21 MTGN22 MTGN23 MTGN24 MTGN25 MTGN26 MTGN27 MTGN28
  66. do
  67. run_tsb85_test
  68. done
  69. for TEST in OTGC01 OTGC02 OTGC03 OTGC04 OTGC05 OTGC06 OTGC07 OTGC08
  70. do
  71. run_tsb85_test
  72. done
  73. for TEST in OTGC09-01 OTGC09-02 OTGC09-03 OTGC09-04 OTGC09-05 OTGC09-06 OTGC09-07 OTGC09-08 OTGC09-09 OTGC09-10 OTGC09-11 OTGC09-12
  74. do
  75. run_tsb85_test
  76. done
  77. for TEST in OTGC10 OTGC11
  78. do
  79. run_tsb85_test
  80. done
  81. for TEST in OTEN01 OTEN02 OTEN03 OTEN04 OTEN05 OTEN06
  82. do
  83. run_tsb85_test
  84. done
  85. for TEST in MTGX01 MTGX02 MTGX03 MTGX04 MTGX05 MTGX06 MTGX07 MTGX08
  86. do
  87. run_tsb85_test
  88. done
  89. for TEST in MTGX09 MTGX10 MTGX11 MTGX12 MTGX13 MTGX14 MTGX15 MTGX16
  90. do
  91. run_tsb85_test
  92. done
  93. for TEST in MTGX17 MTGX18 MTGX19 MTGX20 MTGX21 MTGX22 MTGX23
  94. do
  95. run_tsb85_test
  96. done
  97. for TEST in MRGP01 MRGP02 MRGP03 MRGP04 MRGP05 MRGP06 MRGP07 MRGP08
  98. do
  99. run_tsb85_test
  100. done
  101. for TEST in ORGP09 ORGP10
  102. do
  103. run_tsb85_test
  104. done