You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
515B

  1. #!/bin/sh
  2. LC_ALL=C
  3. export LC_ALL
  4. datadir="tests/data"
  5. logfile="$datadir/seek.regression"
  6. reffile="$1"
  7. list=`ls tests/data/a-* tests/data/b-* | sort`
  8. rm -f $logfile
  9. for i in $list ; do
  10. echo ---------------- >> $logfile
  11. echo $i >> $logfile
  12. echo $i | grep -v 'b-libav[01][0-9][.]' 2> /dev/null &&
  13. tests/seek_test $i >> $logfile
  14. done
  15. if diff -u "$reffile" "$logfile" ; then
  16. echo
  17. echo seek regression test: success
  18. exit 0
  19. else
  20. echo
  21. echo seek regression test: error
  22. exit 1
  23. fi